Everything About ___
Live briefing

Everything about Priority queue

Abstract data type in computer science

In computer science, a priority queue is an abstract data type similar to a regular queue where each element has an associated priority determining its order of service. Priority queue serves highest priority items first. Priority values have to be instances of an ordered data type, and higher priority can be given either to the lesser or to the greater values with respect to the given order relation. For example, in the Java standard library, the PriorityQueue class considers the lowest element with respect to their order as having the highest priority. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Priority queueA 5-minute orientation
  2. Skim a recent paper: A multi‐queue priority‐based task scheduling algorithm in fog computing environmentInfluential work since 2022
  3. Pick up a classic book: Data structures and algorithms in JavaThe most-reprinted book on the subject
  4. Read the landmark paper: Optimal Incentive-Compatible Priority Pricing for the M/M/1 QueueCited 461 times
  5. Go sideways: Heap (data structure)A closely related topic
  6. Go sideways: Binary heapA closely related topic

📖 Definitions

Noun An abstract data type similar to a regular queue or stack abstract data type.

🏆 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