How to find the medium number of a given array

Difficulty 20
Helpful 50
Save 4
View 4137