Suppose we have a set {8, -1, 3, 6, 2 } do we need to order the set before computing the median, this may be silly but I ask this specifically because here https://www.beatthegmat.com/is-the-range ... 57095.html I learnt that range does not require a set be ordered.
For median, It requires to be.
you can only find range of 4 1 3 8 2 if it is in proper order.
For range too, you need to find distance between max and min. So, only if you arrange, you can get the biggest and smallest values.
In that thread too, they end up doing the same thing. They find the difference between smallest and largest, right?
Is it clear now?
















