On fine fluctuations of the complexity of the QuickSelect algorithm
Abstract
The Quickselect algorithm (also called FIND) is a fundamental algorithm for selecting ranks or quantiles within a set of data. Gr\"ubel and R\"osler showed that the number of key comparisons required by Quickselect considered as a process of the quantiles converges within a natural probabilistic model after normalization in distribution within the c\`adl\`ag space endowed with the Skorokhod metric. We show that the residual process in the latter convergence after normalization converges in distribution towards a mixture of Gaussian processes in . A similar result holds for the related algorithm QuickVal. Our method is applicable to other cost measures such as the number of swaps (key exchanges) required by Quickselect, or cost measures being based on key comparisons taking additionally into account that the cost of a comparison between two keys may depend on their values, an example being the number of bit comparisons needed to compare keys given by their bit expansions. For all the arising mixtures of Gaussian limit processes, we also discuss the H\"older continuity of their paths.
Cite
@article{arxiv.2403.07685,
title = {On fine fluctuations of the complexity of the QuickSelect algorithm},
author = {Jasper Ischebeck and Ralph Neininger},
journal= {arXiv preprint arXiv:2403.07685},
year = {2024}
}
Comments
Version 1 is an extended abstract published by the 35th International Conference on Probabilistic, Combinatorial and Asymptotic Methods for the Analysis of Algorithms (AofA24), Art. No. 9, 15 pp, Leibniz Int. Proc. Inform., 302, Schloss Dagstuhl. Leibniz-Zent. Inform., Wadern, 2024. From Version 2 on it is the full paper version