Charles Knessl ; Wojciech Szpankowski - Quicksort algorithm again revisited

dmtcs:252 - Discrete Mathematics & Theoretical Computer Science, January 1, 1999, Vol. 3 no. 2 - https://doi.org/10.46298/dmtcs.252
Quicksort algorithm again revisitedArticle

Authors: Charles Knessl 1; Wojciech Szpankowski 2

  • 1 Department of Mathematics, Statistics and Computer Science [Chicago]
  • 2 Department of Computer Science [Purdue]

We consider the standard Quicksort algorithm that sorts n distinct keys with all possible n! orderings of keys being equally likely. Equivalently, we analyze the total path length L(n) in a randomly built \emphbinary search tree. Obtaining the limiting distribution of L(n) is still an outstanding open problem. In this paper, we establish an integral equation for the probability density of the number of comparisons L(n). Then, we investigate the large deviations of L(n). We shall show that the left tail of the limiting distribution is much ''thinner'' (i.e., double exponential) than the right tail (which is only exponential). Our results contain some constants that must be determined numerically. We use formal asymptotic methods of applied mathematics such as the WKB method and matched asymptotics.


Volume: Vol. 3 no. 2
Published on: January 1, 1999
Imported on: March 26, 2015
Keywords: Algorithms,Analysis of algorithms,Asymptotic analysis,Binary search tree,Quicksort,Sorting,[INFO.INFO-DM] Computer Science [cs]/Discrete Mathematics [cs.DM]
Funding:
    Source : OpenAIRE Graph
  • Towards Analytic Information Theory: Data Compression, Prediction and Universal Coding Through Analytic Methods; Funder: National Science Foundation; Code: 9804760
  • Data Compression from the String Matching Perspective: Second Order Properties; Funder: National Science Foundation; Code: 9415491

6 Documents citing this article

Consultation statistics

This page has been seen 646 times.
This article's PDF has been downloaded 595 times.