Update StringPermutationOptimal.java