All publications

Journal articleTALG 11(3), art. 22 (2015)January 2015

Average Case and Distributional Analysis of Dual-Pivot Quicksort

In this paper, we describe the most detailed mathematical analysis of dual-pivot Quicksort that is available in the literature:

  • We compute exact average costs in the random-permutation model including Insertionsort for subarrays of size $n \le M$.
  • We derive fixed-point equations for limit distributions of costs, and compute variances and covariances.

The results are discussed extensively (much more than in the conference version).

Conference talk Average Case Analysis of Java 7's Dual Pivot Quicksort ESA 2012 · 11 September 2012

The conference talk for the ESA 2012 version.

Relation to Other Papers

A shorter conference version was presented at ESA 2012.

This paper does not cover pivot sampling, since then the explicit solution of the recurrence of costs is no longer possible; we computed the leading-terms of asymptotic approximation of costs in a separate paper.

Intended Audience

algorithms experts, mathematically inclined computer scientists.

ACM Author-ize Service

Reference

Sebastian Wild, Markus Nebel, and Ralph Neininger: Average Case and Distributional Analysis of Dual-Pivot Quicksort. ACM Transactions on Algorithms 11, 3, Article 22 (Jan 2015). doi:10.1145/2629340

arXiv 1304.0988DOI ACM

BibTeX
@article{WildNebelNeininger2015,
	title = {Average Case and Distributional Analysis of Dual-Pivot {Quicksort}},
	author = {Sebastian Wild and Markus Nebel and Ralph Neininger},
	journal = {ACM Transactions on Algorithms},
	volume = {11},
	number = {3},
	pages = {22:1--22:42},
	year = {2015},
	doi = {10.1145/2629340},
	eprint = {1304.0988},
	urlHidden = {https://www.wild-inter.net/publications/wild-nebel-neininger-2015}
}

Timeline

  1. Apr 2012 conference version written
  2. Sep 2012 conference version: ESA 2012; conference talk at ESA 2012
  3. Apr 2013 written; arXiv 1304.0988
  4. Oct 2013 conference version: arXiv 1310.7409
  5. Jan 2015 TALG 11(3), art. 22 (2015)