Interviewer asked this question "You have a string lets say "ABC" now write a program that prints out all the combinations of this string (for example: ACB, BAC, BCA...)"
Anonymous
It should be permutations of the string rather than combinations for the answer you have provided.
Check out your Company Bowl for anonymous work chats.