Worked approaches: designing data structures
How to Think · DSA: Worked Approaches · Advanced · 22 min
LRU Cache, Min Stack and Top K Frequent Elements, solved by asking which operations must be fast and picking a structure for each one.
This lesson is part of TuringPath Pro. See plans.
More in DSA: Worked Approaches
- Worked approaches: arrays and strings
- Worked approaches: trees and graphs
- Worked approaches: dynamic programming
Previous: Worked approaches: dynamic programming · Next: A framework for any "design X" question