中文

Randomized selection revisited

数据结构与算法 2007-05-23 v1

摘要

We show that several versions of Floyd and Rivest's algorithm Select for finding the kkth smallest of nn elements require at most n+min{k,nk}+o(n)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.

关键词

引用

@article{arxiv.cs/0204033,
  title  = {Randomized selection revisited},
  author = {Krzysztof C. Kiwiel},
  journal= {arXiv preprint arXiv:cs/0204033},
  year   = {2007}
}

备注

25 pages, LaTeX 2e