A probabilistic analysis of the Floyd–Rivest expected time selection algorithm

From MaRDI portal





The selection problem consists in finding the \(i\)-th smallest element \(i\theta X\) of a set \(X\) of \(n\) distinct numbers \(x_1,\dots,x_n\). \textit{R. W. Floyd} and \textit{R. L. Rivest} [Commun. ACM 18, 165--172 (1975; Zbl 0296.68049)] developed a selection algorithm which needs for \(i\leq n/2\) on average \(n+i +O(n^{1/2})\) comparisons to determine \(i\theta X\). The authors present a refined version of the Floyd-Rivest algorithm. It is shown, that this new algorithm requires \(n+i +O(n^{1/2}\log^{3/2}n)\) comparisons with probability at least \(1-n^{-\rho}\), for any constant \(\rho>0\).











This page was built for publication: A probabilistic analysis of the Floyd–Rivest expected time selection algorithm

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