pith. sign in

arxiv: 1710.07505 · v1 · pith:JWM4TC6Znew · submitted 2017-10-20 · 💻 cs.DS

Probabilistic Analysis of the Dual-Pivot Quicksort "Count"

classification 💻 cs.DS
keywords countnumberasymptoticdual-pivotanalysisaveragecomparisonsformula
0
0 comments X
read the original 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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.