Microsoft interview question

Classic string permutations question.

Interview Answer

Anonymous

6 Nov 2015

Use tree traversal with a bit of recursion, and you're good.