Find all the permutations of a string - similar to permute arrays
Recursive Solution Example String: abcdefgh When i = 0, we have, First wave of recursion till the String is empty Input String: abcdefgh - "" + "bcdefgh" = "bcdefgh" Input String: bcdefgh - "" + "cdefgh" = "cdefgh" Input String: cdefgh - "" + "defgh" = "defgh" Input String: defgh - "" + "efgh" = "efgh" Input String: efgh - "" + "fgh" = "fgh" Input String: fgh - "" + "gh" = "gh" Input String: gh - "" + "h" = "h" Input String: h - "" + "" = "" Then coming out of recursion Input String: gh - "g" + "" = "g" Input String: g - ""...