Heap / Priority Queue
Repeatedly pull out the smallest or largest item, or keep only the top k.
- 115.703. Kth Largest Element in a Stream
- 116.1046. Last Stone Weight
- 117.973. K Closest Points to Origin
- 118.215. Kth Largest Element in an Array
- 119.621. Task Scheduler
- 120.355. Design Twitter
- 121.295. Find Median From Data Stream
- 122.767. Reorganize String
- 123.1834. Single-Threaded CPU
- 124.1405. Longest Happy String
- 125.1094. Car Pooling
- 126.502. IPO
