[Cs3] practical examples of deque usage

Mikhail Nesterenko mnestere at kent.edu
Tue Sep 2 15:47:51 EDT 2025


CS3 students,

There was a question after class today about practical usage for
deques. One example is a browser webpage history: the new pages are
added at one end, while old pages are discarded at another.

Job scheduling algorithms and any kind of sliding windows (with
maximum and minimum processing elements) are other good examples for
deques.

Thank you,
-- 
Mikhail


More information about the cs3 mailing list