Everything About ___
Live briefing

Everything about Double-ended priority queue

In computer science, a double-ended priority queue (DEPQ) or double-ended heap or priority deque is a data structure similar to a priority queue or heap, but allows for efficient removal of both the maximum and minimum, according to some ordering on the keys (items) stored in the structure. Every element in a DEPQ has a priority or value. In a DEPQ, it is possible to remove the elements in both ascending as well as descending order. Wikipedia →

đź§­ Start here: a 6-step reading path

  1. Read the overview: Double-ended priority queueA 5-minute orientation
  2. Pick up a classic book: Fundamentals of data structures in CThe most-reprinted book on the subject
  3. Read the landmark paper: The deap—a double-ended heap to implement double-ended priority queuesCited 36 times
  4. Go sideways: Min-max heapA closely related topic
  5. Go sideways: Priority queueA closely related topic

đź“– Definitions

No dictionary entry for this exact phrase.

🗂️ The subject at a glance

  1. Operations
  2. Implementation
  3. Time complexity
  4. Applications

🏆 Landmark papers (most cited)

📚 Books worth reading

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

đź”— Related topics