Randomized selection with tripartitioning
Data Structures and Algorithms
2007-05-23 v1
Abstract
We show that several versions of Floyd and Rivest's algorithm Select [Comm.\ ACM {\bf 18} (1975) 173] for finding the th smallest of elements require at most comparisons on average, even when equal elements occur. This parallels our recent analysis of another variant due to Floyd and Rivest [Comm. ACM {\bf 18} (1975) 165--172]. Our computational results suggest that both variants perform well in practice, and may compete with other selection methods, such as Hoare's Find or quickselect with median-of-3 pivots.
Cite
@article{arxiv.cs/0401003,
title = {Randomized selection with tripartitioning},
author = {Krzysztof C. Kiwiel},
journal= {arXiv preprint arXiv:cs/0401003},
year = {2007}
}
Comments
19 pages