4 ms·
That would give you some string that contains all the permutations, but definitely not the shortest such string.
by ball_of_lint 2y ago
That would give you some string that contains all the permutations, but definitely not the shortest such string.