Priority queues and heaps: the smallest thing, fast
A triage desk at a hospital. People arrive in no particular order, and every time a room opens you take the most urgent one waiting. Nobody sorts the whole room. You only ever…
Included with a plan
This video is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.
Or start free: a free account opens lessons 2 and 3 of every track.
Chapters
Priority queues and heaps: the smallest thing, fast. A triage desk at a hospital. People arrive in no particular order, and every time a room opens you take the most urgent one waiting. Nobody sorts the whole room. You only ever need
See also
Saved in this browser, and to your account when you sign in.