Zoe Ding's Blog

High Frequency: Heap

347. Top K Frequent Elements
215. Kth Largest Element in an Array
973. K Closest Points to Origin
(The questions above can also be solved using Quick Select.)