GlobalLogic interview question

Print permutations of string "ABC"