Dual-Pivot Quicksort: Optimality, Analysis and Zeros of Associated Lattice Paths
- ,
- Martin Dietzfelbinger,
- Clemens Heuberger,
- Daniel Krenn,
- Helmut Prodinger
- ,
- Ilmenau University of Technology,
- University of Klagenfurt,
- Stellenbosch University
Research Output:
Journal Article or Conference Article in Journal
Journal article
Peer-reviewOpen access
Publication Information
Output type
Research Output:
Journal Article or Conference Article in Journal
Journal article
Peer-reviewOriginal language
EnglishJournal (Volume, Issue Number)
Combinatorics, Probability & ComputingPublication milestones
- Published - 14/08/2018
Publication status
Published - 14/08/2018
ISSN
0963-5483Publication IDs
- Scopus: 85052716915
Abstract
We present an average-case analysis of a variant of dual-pivot quicksort. We show that the algorithmic partitioning strategy used is optimal, that is, it minimizes the expected number of key comparisons. For the analysis, 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 proved.
An essential step is the analysis of zeros of lattice paths in a certain probability model. Along the way a combinatorial identity is proved.
Publication metrics
PlumX, opens in new tab
Captures
5
Citations
2
Access to documents
Accepted author manuscript, 733.26 KB
