Refined Quicksort asymptotics
arXiv:1207.4556
Abstract
The complexity of the Quicksort algorithm is usually measured by the number of key comparisons used during its execution. When operating on a list of data, permuted uniformly at random, the appropriately normalized complexity is known to converge almost surely to a non-degenerate random limit . This assumes a natural embedding of all on one probability space, e.g., via random binary search trees. In this note a central limit theorem for the error term in the latter almost sure convergence is shown: where denotes a standard normal random variable.
revised version; title slightly changed; accepted for publication in Random Structures and Algorithms