public class Permute { public static void main(String[] args) throws IOException { System.out.println(\"Enter a string\"); BufferedReader bufReader =
Try change your shuffle:
public static void shuffle(String dummy, String input){ if(input.length() <= 1) System.out.println(dummy+input); else{ for(int i=0; i