S
sahu
Permutation :
User will input a string and you need to find out all the possible
combinations of its characters(there won't be any repetition of
characters) .
Sample I/p:
Enter the string: abc
Sample o/p:
abc
acb
bac
bca
cab
cba
User will input a string and you need to find out all the possible
combinations of its characters(there won't be any repetition of
characters) .
Sample I/p:
Enter the string: abc
Sample o/p:
abc
acb
bac
bca
cab
cba