计算机科学 > 数据结构与算法
[提交于 2002年4月15日]
标题:Randomized selection revisited
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Krzysztof C. Kiwiel[v1] 2002年4月15日 星期一 04:48:21 UTC