Enumerating k-mers Lexicographically

Array#repeated_permutation 最強