19 Aug PMCA Sunday 12:00 Java Homework 20.08.16.
Question:
Write the code to find the median of the unsorted array. Please try to be as efficient as possible. You can assume that the array will contain odd amount of numbers
Input: [10,1,2,5,4,3,11,9,8,7,6] Output: 6
If you don’t know what median please check
https://en.wikipedia.org/wiki/Median
Sorry, the comment form is closed at this time.