iq.lab
Python sleeps until you run code

Module 9 · 3 lessons · about 155 minutes

Heaps and tries

How a heap keeps the smallest item on top in an ordinary list, top-k and merging with heapq, the two-heap median, and prefix trees for words.

Lessons
0/3
Exercises
0/0
Code
0/0
Checkpoint
Not taken
  1. 1How a heap works50 min
  2. 2Top k and merging60 min
  3. 3Tries45 min
Next moduleGraphs