Skip to content

Files

Latest commit

5007d64 · Aug 23, 2020

History

History

Median of medians

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 23, 2020
Aug 18, 2020
Aug 18, 2020
Aug 23, 2020
Aug 17, 2020

Median of medians

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.