BackDSA1 reportCCiscoAll Permutations of a String0upvotesI was asked thisProblem Print all permutations of a string both recursively and iteratively. Example "abc" -> abc, acb, bac, bca, cab, cba Constraints 1 ≤ |s| ≤ 8 What Cisco looks for Be ready with both approaches and to handle duplicate characters.Follow-ups(2)DomainsBackend EngineerReport