arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1903.03708math.PRmath.CO
收藏

快速排序运行时间的详细分析

A Detailed Analysis of Quicksort Running Time

Shalosh B. Ekhad, Doron Zeilberger

摘要:

有史以来最伟大的算法之一是快速排序。它的平均运行时间是著名的O(nlog(n)),它的方差,不太著名,是O(n^2)(因此它的标准差是O(n))。但是更高的时刻呢?在这里,我们找到了前八个时刻的显式表达式,它们的缩放限制,我们描述了如何计算,近似(但非常准确),对于任何列表长度的运行时间

英文摘要:

One of the greatest algorithms of all time is Quicksort. Its average running time is famously O(nlog(n)), and its variance, less famously, is O(n^2) (hence its standard deviation is O(n)). But what about higher moments? Here we find explicit expressions for the first eight moments, their scaled limits, and we describe how to compute, approximately (but very accurately), percentiles of running time for any list-length

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

↑