arXiv · 2403.07685
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 $\alpha\in[0,1]$ converges within a natural probabilistic model after normalization in distribution within the c\`adl\`ag space $D[0,1]$ 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 $D[0,1]$. 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.
Explore related subjects
Keep this discovery
Jasper Ischebeck, Ralph Neininger. 2024-03-12. On fine fluctuations of the complexity of the QuickSelect algorithm. https://arxiv.org/abs/2403.07685
Cite the original work for its findings. Save a collection to share your selection of sources.