Finding possible permutations of a word
again. I’ve written a code on finding all possible combinations on a word and my code works but very limited times (i.e) it prints the string with “a” being only swapped (my I/P is abcd) but not b,c and d.
again. I’ve written a code on finding all possible combinations on a word and my code works but very limited times (i.e) it prints the string with “a” being only swapped (my I/P is abcd) but not b,c and d.