Heaps and tries
Top-K problems and prefix problems.
- DSA.09.01Pattern 9: Heap / top-KCoreMid-levelBeing written
- DSA.09.02Pattern 10: TrieMid-levelBeing written
Interview questions in this module
- Find the k largest elements. Heap vs sorting vs quickselect?
- Keep a running median of a stream.
- How would you build autocomplete with a trie? How do you return the top suggestions quickly?