@@ -0,0 +1,895 @@
+// https://community.topcoder.com/stat?c=problem_statement&pm=6003%0A%0Apublic class DiagonalDisproportion %7B%0A%09public static int getDisproportion(String%5B%5D matrix) %7B%0A%09%09int diagonalDisproportion = 0;%0A%09%09int mainDiagonalSum = 0;%0A%09%09int collateralDiagonalSum = 0;%0A%09%09int mainDiagonalElementIndex = 0;%0A%09%09int collateralDiagonalElementIndex = matrix%5B0%5D.length()-1;%0A%09%09%0A%09%09for (String stringInMatrix : matrix) %7B%0A%09%09%09char mainDiagonalElement = stringInMatrix.charAt(mainDiagonalElementIndex);%0A%09%09%09mainDiagonalElementIndex++;%0A%09%09%09char collateralDiagonalElement = stringInMatrix.charAt(collateralDiagonalElementIndex);%0A%09%09%09collateralDiagonalElementIndex--;%0A%09%09%09mainDiagonalSum += Character.getNumericValue(mainDiagonalElement);%0A%09%09%09collateralDiagonalSum += Character.getNumericValue(collateralDiagonalElement);%0A%09%09%7D%0A%09%09%0A%09%09diagonalDisproportion = mainDiagonalSum - collateralDiagonalSum;%0A%09%09return diagonalDisproportion;%0A%09%7D%0A%7D%0A

Create DiagonalDisproportion.java