結果 : count string permutations hackerrank solution