Domanda di colloquio di Amazon Lab126

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

Risposta di colloquio

Anonimo

6 set 2018

Could use DFS and allow revisiting of vertices