Selection Algorithms with Small Groups

From MaRDI portal
Publication:4983545

DOI10.1142/S0129054120500136zbMATH Open1458.68292arXiv1409.3600OpenAlexW3023681931MaRDI QIDQ4983545FDOQ4983545

Adrian Dumitrescu, Ke Chen

Publication date: 20 April 2021

Published in: International Journal of Foundations of Computer Science (Search for Journal in Brave)

Abstract: We revisit the selection problem, namely that of computing the ith order statistic of n given elements, in particular the classic deterministic algorithm by grouping and partition due to Blum, Floyd, Pratt, Rivest, and Tarjan (1973). Whereas the original algorithm uses groups of odd size at least 5 and runs in linear time, it has been perpetuated in the literature that using smaller group sizes will force the worst-case running time to become superlinear, namely Omega(nlogn). We first point out that the usual arguments found in the literature justifying the superlinear worst-case running time fall short of proving this claim. We further prove that it is possible to use group size smaller than 5 while maintaining the worst case linear running time. To this end we introduce three simple variants of the classic algorithm, the repeated step algorithm, the shifting target algorithm, and the hyperpair algorithm, all running in linear time.


Full work available at URL: https://arxiv.org/abs/1409.3600





Cites Work


Cited In (2)

Uses Software


   Recommendations





This page was built for publication: Selection Algorithms with Small Groups

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4983545)