Select#
Contents#
The Selection Problem#
The selection problem seeks to select the \(k\)-th smallest (largest) element from an unsorted array of elements, and is useful for finding the median, the 25th percentile, say, from a list efficiently, or for indexing into an unsorted array as though it were sorted.
Selection problem: given an unsorted array \(A\) of \(n\) elements and a comparison operation between the elements, return the value of the \(k\)-th smallest element where \(k \lt n\).
Sections#
Figures#
Terms#
[ w ] Floyd-Rivest Algorithm
[ w ] Introselect (“Introspective Selection”)
[ w ] Median of Medians
[ w ] Order Statistic
[ w ] Quickselect
[ w ] Selection Algorithm