Article view

Distributional Convergence for the Number of Symbol Comparisons Used by QuickSort (Extended Abstract)

By James Allen Fill

Article information

Publication
Published 1 January 2010
Institutions at publication
Johns Hopkins University
2 Citations OpenAlex, 3 December 2026 FULL LIST: Citations
2 Countries with citations Where the citing authors were FULL LIST: Countries with citations
Usage Phase 3: not collected yet

Abstract

Most previous studies of the sorting algorithm $\mathtt{QuickSort}$ have used the number of key comparisons as a measure of the cost of executing the algorithm. Here we suppose that the $n$ independent and identically distributed (iid) keys are each represented as a sequence of symbols from a probabilistic source and that $\mathtt{QuickSort}$ operates on individual symbols, and we measure the execution cost as the number of symbol comparisons. Assuming only a mild "tameness'' condition on the source, we show that there is a limiting distribution for the number of symbol comparisons after normalization: first centering by the mean and then dividing by $n$. Additionally, under a condition that grows more restrictive as $p$ increases, we have convergence of moments of orders $p$ and smaller. In particular, we have convergence in distribution and convergence of moments of every order whenever the source is memoryless, i.e., whenever each key is generated as an infinite string of iid symbols. This is somewhat surprising: Even for the classical model that each key is an iid string of unbiased ("fair'') bits, the mean exhibits periodic fluctuations of order $n$.

Citations per year

Citations per year
YearCitations
2017 0
2018 0
2019 0
2020 0
2021 0
2022 0
2023 0
2024 0
2025 0
2026 0

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

The newest works citing this article
Citing workYearPublished in
The Limiting Distribution for the Number of Symbol Comparisons Used by QuickSort is Nondegenerate (Extended Abstract) (self-citation) 2012 Discrete Mathematics & Theoretical Computer Science
The number of bit comparisons used by Quicksort: an average-case analysis (self-citation) 2012 Electronic Journal of Probability

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • Changes the map only; the tables list the figures.
  • USAGE Phase 3
Authors by country
CountryAuthors
United States1
Citations from 2 countries
Citations by the country of the citing authors
CountryCitations
United States2
Sweden1

Where the authors of the works citing these were, from the citing works OpenAlex lists. A citation whose authors were in several countries counts in each.