🚀Day 61 | Permutations of a String

💡Approach:
Use backtracking to generate all unique permutations.
Maintain a set for results and a boolean array to track visited characters during recursion.

Complexity:
🕒Time: O(n × n!)
💾Space: O(n)
#gfg160 #geekstreak2024 @geeksforgeeks
#gfg160 #geekstreak2024