Glossary: Coding Interviews in C++
std::priority_queue
Also written: priority_queue
The C++ heap. By default it is a max-heap with the biggest item on top, and with `std::greater<>` it is a min-heap.
Glossary: Coding Interviews in C++
Also written: priority_queue
The C++ heap. By default it is a max-heap with the biggest item on top, and with `std::greater<>` it is a min-heap.