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

再论随机快速排序算法的比较次数矩计算

Revisiting calculation of moments of number of comparisons used by the randomized quick sort algorithm

Sumit Kumar Jha

摘要:

我们重新讨论了Kirschenhofer,Schlinger和Tichy的方法来计算快速排序算法所使用的比较矩。我们再次强调,这种方法有助于用更少的计算来计算这些量。我们还指出,正如Knuth所观察到的那样,这种方法也给出了在n个密钥的随机集合上构建的二叉搜索树的总路径长度的矩。

英文摘要:

We revisit the method of Kirschenhofer, Prodinger and Tichy to calculate the moments of comparisons used by the quick sort algorithm. We reemphasize that this approach helps in calculating these quantities with less computation. We also point out that as observed by Knuth this method also gives moments for total path length of a binary search tree built over a random set of n keys.

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

↑