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, most commonly quickselect, that selects the kth smallest element of an initially unsorted array. Median of medians finds an approximate median in linear time.

Source: Wikipedia — Median of medians (CC BY-SA 4.0)

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, most commonly quickselect, that selects the kth smallest element of an initially unsorted array. Median of medians finds an approximate median in linear time.

This neuron ends here.

Source: Wikipedia "Median of medians" · CC BY-SA 4.0

Share this article: X · Bluesky
Privacy Policy