@@ -0,0 +1,405 @@
+// https://community.topcoder.com/stat?c=problem_statement&pm=4503%0A%0Apublic class ArrayHash %7B%0A%09public static int getHash(String%5B%5D input) %7B%0A%09%09int hash = 0;%0A%09%09%0A%09%09for (int i = 0; i %3C input.length; ++i) %7B%0A%09%09%09for (int j = 0; j %3C input%5Bi%5D.length(); ++j) %7B%0A%09%09%09%09int alphabetPosition = ((int) input%5Bi%5D.charAt(j)) - 65; // 65 - ASCII code of 'A'%0A%09%09%09%09hash += alphabetPosition + i + j;%0A%09%09%09%7D%0A%09%09%7D%0A%09%09%0A%09%09return hash;%0A%09%7D%0A%7D%0A

Create ArrayHash.java