• Median of Three

Question related to mission Median of Three

 

medianThree([5,2,9,1,7,4,6,3,8])

wrong(now): [5,2,5,2,7,4,6,4,6]

right: [5,2,5,4,6,4,6,4,6]