Skip to content
RED SAGSkills
hard20 pts · first answer countssorting-and-searching

Median of medians pivot selection

Why would a library use the median-of-medians method to pick pivots in a selection algorithm, even though it is slower on average than random pivots?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions