ECCC
Electronic Colloquium on Computational Complexity
Login | Register | Classic Style



REPORTS > DETAIL:

Paper:

TR04-059 | 21st June 2004 00:00

Randomized Quicksort and the Entropy of the Random Number Generator

RSS-Feed

Abstract:

The worst-case complexity of an implementation of Quicksort depends
on the random number generator that is used to select the pivot
elements. In this paper we estimate the expected number of
comparisons of Quicksort as a function in the entropy of the random
source. We give upper and lower bounds and show that the expected
number of comparisons increases from n*log(n) to n^2, if the
entropy of the random source is bounded. As examples we show
explicit bounds for distributions with bounded min-entropy, the
geometrical distribution and the delta-random source.



ISSN 1433-8092 | Imprint