Skip to content

Glossary: Data Structures and Algorithms in C++

Priority queue

Also written: priority queues, std::priority_queue

A queue that serves the most urgent item first, regardless of arrival order. std::priority_queue wraps a heap with push, top and pop.

Where the book teaches it

Related terms

HeapMax-heapQueue