Quicksort asymptotics
Cite this paper
×
@misc{univ2001quicksort,
title = {Quicksort asymptotics},
author = {James Allen Fill (Johns Hopkins Univ.) and Svante Janson (Uppsala Univ.)},
year = {2001},
eprint = {math/0105248},
archivePrefix = {arXiv},
primaryClass = {math.PR},
url = {https://arxiv.org/abs/math/0105248}
}
Univ.), J. A. F. (. H., & Univ.), S. J. (. (2001). Quicksort asymptotics [Preprint]. arXiv. https://doi.org/10.48550/arXiv.math/0105248
UNIV.) JAF(H, UNIV.) SJ(. Quicksort asymptotics[EB/OL]. (2001-05-29)[2026-11-29]. https://arxiv.org/abs/math/0105248.
Abstract
The number of comparisons X_n used by Quicksort to sort an array of n distinct numbers has mean mu_n of order n log n and standard deviation of order n. Using different methods, Regnier and Roesler each showed that the normalized variate Y_n := (X_n - mu_n) / n converges in distribution, say to Y; the distribution of Y can be characterized as the unique fixed point with zero mean of a certain distributional transformation. We provide the first rates of convergence for the distribution of Y_n to that of Y, using various metrics. In particular, we establish the bound 2 n^- 1 / 2 in the d_2-metric, and the rate O(n^epsilon - (1 / 2)) for Kolmogorov-Smirnov distance, for any positive epsilon.
Post #1 · the paper