@@ -0,0 +1,533 @@
+// https://community.topcoder.com/stat?c=problem_statement&pm=11056%0A%0A// This solution passes all test cases, but its logic may not be correct...%0A%0Aimport java.util.Arrays;%0A%0Apublic class P8XMatrixTransformation %7B%0A%09public static String solve(String%5B%5D original, String%5B%5D target) %7B%0A%09%09char%5B%5D o = Arrays.toString(original).toCharArray();%0A%09%09char%5B%5D t = Arrays.toString(target).toCharArray();%0A%09%09%0A%09%09Arrays.sort(o);%0A%09%09Arrays.sort(t);%0A%09%09%0A%09%09if (String.valueOf(o).equals(String.valueOf(t))) %7B%0A%09%09%09return %22YES%22;%0A%09%09%7D%0A%09%09else %7B%0A%09%09%09return %22NO%22;%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create P8XMatrixTransformation.java