Heap Speedrun ⚡
For each problem, you answer one multiple choice question about how a heap solves it: a min-heap or a max-heap, the key to order by, when to push, and when to pop. For a full explanation of the format, see the Speedrun overview.
This speedrun covers the three heap patterns of the course: Top K, Moving Best, and Multiple Heaps. Before you start, complete the Priority Queue / Heap chapter.