Everything About ___
Live briefing

Everything about Double-ended queue

Abstract data type

In computer science, a double-ended queue, is an abstract data type that serves as a container, with a restricted access to the stored items. As a generalization of both the stack and the queue, the deque may have similar functions as a data buffer: it can be use both as a retainer (queue), or for backtracking (stack). However it offers greater flexibility in managing the order of elements and some algorithms are based on its functionalities. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Double-ended queueA 5-minute orientation
  2. Skim a recent paper: Double-ended queues with non-Poisson inputs and their effective algorithmsInfluential work since 2022
  3. Pick up a classic book: Fundamentals of data structures in CThe most-reprinted book on the subject
  4. Read the landmark paper: The Double-Ended Queue with Bulk Service and Limited Waiting SpaceCited 58 times
  5. Go sideways: Queue (abstract data type)A closely related topic
  6. Go sideways: Amortized analysisA closely related topic

📖 Definitions

Noun An abstract list-type data structure where elements can be added to or removed from the front (head) or the back (tail).

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics