(String args[])
| 19 | } |
| 20 | } |
| 21 | public static void main(String args[]) { |
| 22 | Scanner I = new Scanner(System.in); |
| 23 | System.out.println("ENTER A STRING"); |
| 24 | String s = I.nextLine(); |
| 25 | System.out.println("Given Below are all the permutations of the string"); |
| 26 | permutation(s, 0); |
| 27 | I.close(); |
| 28 | } |
| 29 | } |
| 30 | // Time Complexity : N * N! |
| 31 | /* |
nothing calls this directly
no test coverage detected