STL

In this lesson, we'll see how to use the STL priority queue as a built-in heap.

Library

While solving a problem, we’ll be using heap from C++ STL (priority_queue).

Below are some of the operations that we’ll use frequently. For complete documentation about how they work, check ...