Practice makes perfect - Median


Alright now I am facing a problem here and my code isn't working so please help. Thanks.


length / 2 doesn't give you the answer, it gives you the index in numbers at which you can find the answer. When the numbers list is [1], the answer is at numbers[0]. So what you return needs to reflect that.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.