an approximate (median) selection algorithm, frequently used to supply a good pivot for an exact selection algorithm, mainly the quickselect, that selects the kth largest element of an initially unsorted array. the median of medians is an approximate median-selection algorithm that helps building an asymptotically optimal, exact general selection algorithm (especially in the sense of worst-case complexity), by producing good pivot elements.
Files
Latest commit
Median of medians
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||