AlgorithmsSortingEdit on GitHubEdit history
Floyd–Rivest Algorithm
1975
A selection algorithm that finds the k-th smallest element by narrowing the range with two bounds chosen from a small sample. It uses n + min(k, n-k) + o(n) comparisons on average.
Origin
Robert W. Floyd, Ronald L. Rivest (1975). Expected time bounds for selection. Communications of the ACM 18(3).doi:10.1145/360680.360691 — checked against Crossref, 2026-11-08
Lineage
Algorithms 3 · Relations 2
Parent algorithms
Where it came from
Quickselect1961
Structural analysisLike quickselect it narrows the range by partitioning, but it improves the partition with bounds taken from a sample.
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…