K-th Largest Element
Min-heap of size k: O(n log k) time, O(k) space.
Quickselect: O(n) expected time.
Quickselect worst case: O(n²).
For small k, the heap is often simple and efficient.
Quickselect is attractive when average linear-time selection is desired.