結果 : permutations of strings hackerrank solution in c github