Microsoft Interview Question

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...)"

Interview Answer

Anonymous

Oct 18, 2013

It should be permutations of the string rather than combinations for the answer you have provided.