Questions tagged [priority-queue]

Priority Queue is a queue data structure where elements are ordered by their priority. Questions using this tag can ask about teaching how to use this data structure.

Filter by
Sorted by
Tagged with
5 votes
2 answers

Priority Queue practice vs examples

After teaching Priority Queues, I want to give the students some notion of what it looks like when they are used in code. I have two approaches and I am unsure about which would serve my goal better: ...
user avatar
  • 6,227