再探随机快速排序算法所用比较次数矩的计算
数据结构与算法
2017-04-13 v6
摘要
我们重新审视了 Kirschenhofer、Prodinger 和 Tichy 计算快速排序算法所用比较次数矩的方法。我们再次强调,该方法有助于以更少的计算量计算出这些量。我们还指出,正如 Knuth 所观察到的,该方法同样能给出在 个随机键集上构建的二叉搜索树的总路径长度的各阶矩。
引用
@article{arxiv.1609.01870,
title = {Revisiting calculation of moments of number of comparisons used by the randomized quick sort algorithm},
author = {Sumit Kumar Jha},
journal= {arXiv preprint arXiv:1609.01870},
year = {2017}
}