Finding the median

The question

Median of 20, 2, 26, 46, 46

given:202264646
given:202264646
sorted:220264646
given:202264646
sorted:220264646
  1. The median is the middle number once they are in order.
  2. So put them in order, smallest first.
  3. Count in from both ends. 26 is the one left in the middle, so that is the median.

How it works.

  1. 01

    The median is the middle number once they are in order.

  2. 02

    So put them in order, smallest first.

  3. 03

    Count in from both ends. 26 is the one left in the middle, so that is the median.