Question d’entretien chez Amazon

Given a string, output all its permutations

Réponse à la question d'entretien

Utilisateur anonyme

10 févr. 2013

public class StringPerm { public static void Permutation(String strsub, String str) { int length=str.length(); //System.out.println(length); if(length<=1) System.out.println(strsub+str); else { for(int i=0;i