Randomized selection revisited
<|reference_start|>Randomized selection revisited: We show that several versions of Floyd and Rivest's algorithm Select for finding the $k$th smallest of $n$ elements require at most $n+\min\{k,n-k\}+o(n)$ comparisons on average and with high probability. This rectifies the analysis of Floyd and Rivest, and extends it to the case of nondistinct elements. Our computational results confirm that Select may be the best algorithm in practice.<|reference_end|>
@article{kiwiel2002randomized,
    title={Randomized selection revisited},
    author={Krzysztof C. Kiwiel},
    journal={arXiv preprint arXiv:cs/0204033},
    year={2002},
    number={PMMO-02-01},
    archivePrefix={arXiv},
    eprint={cs/0204033},
    primaryClass={cs.DS}
}