-
Dual-Pivot Quicksort: Optimality, Analysis and Zeros of Associated Lattice Paths
Abstract: We present an average case analysis of a variant of dual-pivot quicksort. We show that the used algorithmic partitioning strategy is optimal, i.e., 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… ▽ More
Submitted 27 November, 2017; v1 submitted 1 November, 2016; originally announced November 2016.
Comments: This article supersedes arXiv:1602.04031
MSC Class: 05A16; 68R05; 68P10; 68Q25; 68W40
Journal ref: Combin. Probab. Comput. 28 (2019), no. 4, 485-518
-
Counting Zeros in Random Walks on the Integers and Analysis of Optimal Dual-Pivot Quicksort
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 s… ▽ More
Submitted 11 May, 2016; v1 submitted 12 February, 2016; originally announced February 2016.
Comments: extended abstract
MSC Class: 05A16; 68R05; 68P10; 68Q25; 68W40
-
The number of Huffman codes, compact trees, and sums of unit fractions
Abstract: The number of "nonequivalent" Huffman codes of length r over an alphabet of size t has been studied frequently. Equivalently, the number of "nonequivalent" complete t-ary trees has been examined. We first survey the literature, unifying several independent approaches to the problem. Then, improving on earlier work we prove a very precise asymptotic result on the counting function, consisting of tw… ▽ More
Submitted 30 August, 2011; originally announced August 2011.
MSC Class: 05A16; 05A15; 05C05; 05C30; 11D68; 68P30; 68R10; 94A10
Journal ref: IEEE Trans. Inf. Theory 59 (2013), 1065-1075