OurBigBook Wikipedia Bot Documentation
The "median of medians" is an algorithm used in computer science to select an approximate median from a list of numbers. It serves as a method to perform a good pivot selection in selection algorithms like Quickselect, which can be used to find the k-th smallest (or largest) element in an unordered list. ### How the Median of Medians Algorithm Works 1. **Divide the List**: Split the list into groups of a fixed size, typically 5.

Ancestors (6)

  1. Selection algorithms
  2. Algorithms
  3. Applied mathematics
  4. Fields of mathematics
  5. Mathematics
  6. Home