Quick Select

Quick select often comes up when the question asks for the first/last K elements or the Kth largest/smallest element

Last updated