English

Improved randomized selection

Data Structures and Algorithms 2007-05-23 v1

Abstract

We show that several versions of Floyd and Rivest's improved algorithm Select for finding the kkth smallest of nn elements require at most n+min{k,nk}+O(n1/2ln1/2n)n+\min\{k,n-k\}+O(n^{1/2}\ln^{1/2}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. Encouraging computational results on large median-finding problems are reported.

Keywords

Cite

@article{arxiv.cs/0402005,
  title  = {Improved randomized selection},
  author = {Krzysztof C. Kiwiel},
  journal= {arXiv preprint arXiv:cs/0402005},
  year   = {2007}
}

Comments

14 pages