If there is a string, n characters
e.g. input string = "abcde"
How can I show all the their combinations ?
e.g. abcde, abced, abecd.... etc.
newstr = new string[instr.length()*instr.length()];
for (i = 0; i < ???; i++)
for (j = ?? ?????)
thanks!!
If there is a string, n characters
e.g. input string = "abcde"
How can I show all the their combinations ?
e.g. abcde, abced, abecd.... etc.
newstr = new string[instr.length()*instr.length()];
for (i = 0; i < ???; i++)
for (j = ?? ?????)
thanks!!