Design Twitter
A Medium coding interview problem in the Heap / Priority Queue pattern.
MediumPractise in Recode
Pattern
Always pull the current best element in log time.
Recognition cue: Top K, K closest, running median, or repeatedly taking the smallest / largest.
- Learn first
- Do not confuse it with
Topics
- Hash Table
- Linked List
- Design
- Heap (Priority Queue)
Practise Heap / Priority Queue next
- 1Medium
- 2Medium
- 3Medium
- 4Medium
- 5Medium
- 6Medium
- 7Medium
- 8Medium