Loading...
Deterministic selection producing a worst-case linear pivot quality by recursively selecting the median of group medians.
At least half of group medians are >= pivot and each such median is >= two elements in its group. Similarly for <= pivot. This yields >= 3n/10 elements eliminated every partition.
Symmetry and floor/ceiling rounding preserve a linear discard factor.