Journeys / DSA / Clinic: search, trees, graphs and heaps
The top-5 board
3 min · Keep only the top k with a small min-heap instead of sorting everything
Included with a plan
This journey stop is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.
See plansAlready a member? Sign in
Or start free: a free account opens lessons 2 and 3 of every track.