- Kth largest element: here
- Kth smallest element: here
- Print K largest elements: here
- Sort a K-sorted array: here
- Find K closest numbers to a given number: here
- Print top k frequent numbers: here
- Frequency sort: here
- Find K closest pairs to origin: here
- Connect ropes to minimize the cost: here
- Sum of elements between K1th smallest and K2th smallest elements: here