Skip to content

Perfect simulation from the Quicksort limit distribution

Luc Devroye, James Allen Fill, Ralph Neininger

math.PRarXiv:math/0005237

Abstract

The weak limit of the normalized number of comparisons needed by the Quicksort algorithm to sort n randomly permuted items is known to be determined implicitly by a distributional fixed-point equation. We give an algorithm for perfect random variate generation from this distribution.

Create a lesson