Median of medians
In computer science , the median of medians is an approximate ( median ) selection algorithm , frequently used to supply a good pivot for an exact selection algorithm , mainly the quickselect , that selects the "k"th largest element of an initially unsorted array . 
<triplet> quickselect <subj> selection algorithm <obj> subclass of