arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1608.04852cs.DS
收藏

快速排序与中位数的中位数被认为是实用的

Quicksort with median of medians is considered practical

Noriyuki Kurosawa

摘要:

线性主元选择算法(称为中位数的中位数)使快速排序的最坏情况复杂度为$\mathrm{O}(n\ln n)$。然而,人们常说这种算法太昂贵,不能用于快速排序。在这篇文章中,我们表明,我们可以使快速排序与这种枢轴选择方法是有效的。

英文摘要:

The linear pivot selection algorithm, known as median-of-medians, makes the worst case complexity of quicksort be $\mathrm{O}(n\ln n)$. Nevertheless, it has often been said that this algorithm is too expensive to use in quicksort. In this article, we show that we can make the quicksort with this kind of pivot selection approach be efficient.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑