@@ -0,0 +1,514 @@
+class Solution %7B%0A    public String restoreString(String s, int%5B%5D indices) %7B%0A        char%5B%5D chs = s.toCharArray();%0A        int n = indices.length;%0A        int p = 0;%0A        while (p %3C n) %7B%0A            if (indices%5Bp%5D == p) %7B%0A                p++;%0A                continue;%0A            %7D%0A            int q = indices%5Bp%5D;%0A            indices%5Bp%5D = indices%5Bq%5D;%0A            indices%5Bq%5D = q;%0A            char c = chs%5Bp%5D;%0A            chs%5Bp%5D = chs%5Bq%5D;%0A            chs%5Bq%5D = c;%0A        %7D%0A        return new String(chs);%0A    %7D%0A%7D%0A

Create ShuffleString1528.java