@@ -0,0 +1,562 @@
+// https://community.topcoder.com/stat?c=problem_statement&pm=3452%0A%0Apublic class InsideOut %7B%0A%09public static String unscramble(String line) %7B%0A%09%09char%5B%5D unscrambledLine = new char%5Bline.length()%5D;%0A%0A%09%09int middleIndex = line.length() / 2 - 1;%0A%09%09int j = middleIndex;%0A%09%09for (int i = 0; i %3C= middleIndex; ++i) %7B%0A%09%09%09unscrambledLine%5Bi%5D = line.charAt(j);%0A%09%09%09--j;%0A%09%09%7D%0A%09%09%0A%09%09for (int i = middleIndex+1; i %3C line.length(); ++i) %7B%0A%09%09%09if (j %3C 0) %7B%0A%09%09%09%09j = line.length()-1;%0A%09%09%09%7D%0A%09%09%09unscrambledLine%5Bi%5D = line.charAt(j);%0A%09%09%09--j;%0A%09%09%7D%0A%09%09%0A%09%09return String.valueOf(unscrambledLine);%0A%09%7D%0A%7D%0A

Create InsideOut.java