Skip to content

Heaps & Priority Queues

K-th largest

From the Heaps & Priority Queues lesson: Always hand me the smallest (or largest) next.

Step with → or Next. When a question pops up, make your guess. Switch to “Try your own” to run it on your input.

Getting the demo ready…

More from Heaps & Priority Queues