@@ -0,0 +1,375 @@
+// https://community.topcoder.com/stat?c=problem_statement&pm=6528%0A%0Aimport java.util.Arrays;%0A%0Apublic class MedianOfNumbers %7B%0A%09public static int findMedian(int%5B%5D numbers) %7B%0A%09%09Arrays.sort(numbers);%0A%0A%09%09int median = numbers%5Bnumbers.length / 2%5D;%0A%09%09%0A%09%09if ((numbers.length / 2) == (numbers.length - (numbers.length / 2) - 1)) %7B%0A%09%09%09return median;%0A%09%09%7D%0A%09%09else %7B%0A%09%09%09return -1;%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create MedianOfNumbers.java