Hacker News new | ask | show | jobs
by halayli 20 days ago
> Right out the gate: the numbers must be sorted.

if you are not aware of quickselect algorithm.