Facebook Pixel

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.

Invest in Yourself
Your new job is waiting. 83% of people that complete the program get a job offer. Unlock unlimited access to all content and features.
Go Pro