Skip to main contentSkip to search
Episciences
Open Access Journals
Sign in(new window)
Discrete Mathematics & Theoretical Computer Science logo
Discrete Mathematics & Theoretical Computer Science
Discrete Mathematics & Theoretical Computer Science logo
Discrete Mathematics & Theoretical Computer Science
Sign in(new window)
Articles & Issues
All articlesAll accepted articlesAll volumesLast volumeSectionsSpecial issuesAuthors
About
The journalIndexing
Boards
Publish
For authorsEthical charter
Submit
Discrete Mathematics & Theoretical Computer Science logo
Contact
|
Credits
eISSN 1365-8050
|
RSS
|
Atom
Episciences
Documentation
|
Acknowledgements
|
Publishing policy
Accessibility: non-compliant
|
Legal mentions
|
Privacy statement
|
Terms of use
  1. Home > Articles & Issues >
  2. Articles >
  3. Quicksort algorithm ...
Article

Quicksort algorithm again revisited

Charles Knessl (1), Wojciech Szpankowski (2) (3)
(1) Department of Mathematics, Statistics and Computer Science [Chicago]
(2) Department of Computer Science [Purdue]
(3) Department of Computer Science [West Lafayette]
Download article
Open on HAL
Imported on
March 26, 2015
Published on
January 1, 1999
Last modified on
March 31, 2025
Volume 3
vol. 3:2
DOI
10.46298/dmtcs.252
License
https://about.hal.science/hal-authorisation-v1
Towards Analytic Information Theory: Data Compression, Prediction and Universal Coding Through Analytic Methods
Indicators
1135
Views
1022
Downloads

Quicksort algorithm again revisited

Charles Knessl (1), Wojciech Szpankowski (2) (3)
(1) Department of Mathematics, Statistics and Computer Science [Chicago]
(2) Department of Computer Science [Purdue]
(3) Department of Computer Science [West Lafayette]
Abstract
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.
Keywords
  • [INFO.INFO-DM]Computer Science [cs]/Discrete Mathematics [cs.DM]
  • Binary search tree
  • Quicksort
  • Sorting
  • Algorithms
  • Analysis of algorithms
  • Asymptotic analysis
Cited by

Source: OpenCitations

  • Precise Logarithmic Asymptotics for the Right Tails of Some Limit Random Variables for Random Trees

    Annals of Combinatorics

    Authors : James Allen Fill ORCID, Svante Janson ORCID

    Journal reference : Volume 12, 2009, pp. 403-416

    DOI : 10.1007/s00026-009-0006-0
  • On Tail Bounds for Random Recursive Trees

    Journal of Applied Probability

    Authors : Götz Olaf Munsonius

    Journal reference : Volume 49, 2012, pp. 566-581

    DOI : 10.1017/s002190020000927x
  • Distributional convergence for the number of symbol comparisons used by QuickSort

    The Annals of Applied Probability

    Authors : James Allen Fill

    Journal reference : Volume 23, 2013, pp.

    DOI : 10.1214/12-aap866
  • On the tails of the limiting Quicksort distribution

    Electronic Communications in Probability

    Authors : Svante Janson ORCID

    Journal reference : Volume 20, 2015, pp.

    DOI : 10.1214/ecp.v20-4525
  • Distributional Convergence for the Number of Symbol Comparisons Used by QuickSort (Extended Abstract)

    Discrete Mathematics & Theoretical Computer Science

    Authors : james Allen fill ORCID

    Journal reference : Volume DMTCS Proceedings vol. AM,..., 2010, pp.

    DOI : 10.46298/dmtcs.2800
  • Asymptotic analysis of a family of polynomials associated with the inverse error function

    Rocky Mountain Journal of Mathematics

    Authors : Diego Dominici ORCID, Charles Knessl ORCID

    Journal reference : Volume 42, 2012, pp.

    DOI : 10.1216/rmj-2012-42-3-847
Preview
Loading PDF preview...