Hello
I need a code to do Permutation with repetition for a char array.
Ex:
If I a have char[] = {"a","b"}
The Permutation for 2 letters:
aa
ab
ba
bb
For 3 letters:
aaa
aab
aba
abb
bbb
bba
bab
baa
Thank's alot
|
Results 1 to 7 of 7
Threaded View
|
Click Here to Expand Forum to Full Width |