結果 : permutations of strings hackerrank solution