Paper record

W2087183702

Phase Change of Limit Laws in the Quicksort Recurrence under Varying Toll Functions

Hsien‐Kuei Hwang, Ralph Neininger

Year
2002
Venue
SIAM Journal on Computing
References
63
Cited by
88

Details and counts from OpenAlex.

Abstract

We characterize all limit laws of the quicksort-type random variables defined recursively by L(Xn)=L(XIn+Xn−1−In∗+Tn){\cal L}(X_n)= {\cal L}(X_{I_n}+X^*_{n-1-I_n}+T_n) when the "toll function" T n varies and satisfies general conditions, where (X n), (X n *), (I n, T n) are independent, I n is uniformly distributed over {0, . . .,n-1}, and L(Xn)=L(Xn∗){\cal L}(X_n)={\cal L}(X_n^\ast). When the "toll function" T n (cost needed to partition the original problem into smaller subproblems) is small (roughly lim sup⁡n→∞log⁡E(Tn)/log⁡n≤1/2\limsup_{n\rightarrow\infty}\log E(T_n)/\log n\le 1/2), X n is asymptotically normally distributed; nonnormal limit laws emerge when T n becomes larger. We give many new examples ranging from the number of exchanges in quicksort to sorting on a broadcast communication model, from an in-situ permutation algorithm to tree traversal algorithms, etc.