Probabilistic Analysis of the Dual-Pivot Quicksort "Count"
Ralph Neininger, Jasmin Straub

TL;DR
This paper provides a detailed probabilistic analysis of the dual-pivot quicksort 'Count', deriving formulas for average swaps, variance, limit laws, and correlations between key comparisons and swaps.
Contribution
It offers new exact and asymptotic formulas for the number of swaps and comparisons in 'Count', including variance, limit laws, and joint complexity analysis.
Findings
Exact formula for average swaps in 'Count'
Asymptotic variance and limit law for swaps
Asymptotic variance, limit law, and correlation for key comparisons
Abstract
Recently, Aum\"uller and Dietzfelbinger proposed a version of a dual-pivot quicksort, called "Count", which is optimal among dual-pivot versions with respect to the average number of key comparisons required. In this note we provide further probabilistic analysis of "Count". We derive an exact formula for the average number of swaps needed by "Count" as well as an asymptotic formula for the variance of the number of swaps and a limit law. Also for the number of key comparisons the asymptotic variance and a limit law are identified. We also consider both complexity measures jointly and find their asymptotic correlation.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Mathematical Dynamics and Fractals · Music and Audio Processing
