Counting Zeros in Random Walks on the Integers and Analysis of Optimal Dual-Pivot Quicksort
classification
🧮 math.CO
cs.DS
keywords
analysisdual-pivotquicksortstrategyzerosalgorithmicalongasymptotically
read the original abstract
We present an average case analysis of two variants of dual-pivot quicksort, one with a non-algorithmic comparison-optimal partitioning strategy, the other with a closely related algorithmic strategy. For both we calculate the expected number of comparisons exactly as well as asymptotically, in particular, we provide exact expressions for the linear, logarithmic, and constant terms. An essential step is the analysis of zeros of lattice paths in a certain probability model. Along the way a combinatorial identity is proven.
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.