@@ -0,0 +1,635 @@
+// https://community.topcoder.com/stat?c=problem_statement&pm=10505%0A%0Apublic class SoccerLeagues %7B%0A%09public static int%5B%5D points(String%5B%5D matches) %7B%0A%09%09int%5B%5D points = new int%5Bmatches.length%5D;%0A%09%09%0A%09%09// NOTE: By default, array values are initialized to 0 in Java%0A%09%09%0A%09%09for (int i = 0; i %3C points.length; ++i) %7B%0A%09%09%09for (int j = 0; j %3C matches%5Bi%5D.length(); ++j) %7B%0A%09%09%09%09char currentChar = matches%5Bi%5D.charAt(j);%0A%09%09%09%09if (currentChar == 'W') %7B%0A%09%09%09%09%09points%5Bi%5D += 3;%0A%09%09%09%09%7D%0A%09%09%09%09else if (currentChar == 'D') %7B%0A%09%09%09%09%09points%5Bi%5D += 1;%0A%09%09%09%09%09points%5Bj%5D += 1;%0A%09%09%09%09%7D%0A%09%09%09%09else if (currentChar == 'L') %7B%0A%09%09%09%09%09points%5Bj%5D += 3;%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%09%09%0A%09%09return points;%0A%09%7D%0A%7D%0A

Create SoccerLeagues.java