Amazon Lab126 interview question

Write a function that prints all the permutation of a string. Sting has no duplicate characters. For example. ABC.

Interview Answer

Anonymous

6 Sept 2018

Could use DFS and allow revisiting of vertices