Let's say I have a string "abcdef"
If I input n = 3, how to create a permutation of 3 like this :
abc
abd
abe
...
...
edf ?
Let's say I have a string "abcdef"
If I input n = 3, how to create a permutation of 3 like this :
abc
abd
abe
...
...
edf ?
1. Write a permutation algorithm.
2. Split string into pieces of n length.
3. ???
4. Profit!