Dual-Pivot Quicksort: Optimality, Analysis and Zeros of Associated Lattice Paths
- ,
- Martin Dietzfelbinger,
- Clemens Heuberger,
- Daniel Krenn,
- Helmut Prodinger
- ,
- TU Ilmenau,
- University of Klagenfurt,
- Stellenbosch University
Publikation:
Artikel i tidsskrift og konference artikel i tidsskrift
Tidsskriftartikel
Forskning
Peer-reviewOpen Access
Resume
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.
Publikation information
Produktionstype
Publikation:
Artikel i tidsskrift og konference artikel i tidsskrift
Tidsskriftartikel
Forskning
Peer-reviewOriginalsprog
EngelskTidsskrift (Bind, Nummer)
Combinatorics, Probability & ComputingPublikationsmilepæle
- Udgivet - 14/08/2018
Publikationsstatus
Udgivet - 14/08/2018
ISSN
0963-5483Publikations IDer
- Scopus: 85052716915
Metrikker
PlumX, åbner i en ny fane
Hentninger
5
Antal citationer
2
