Approach:
◼️Used backtracking to generate permutations.
◼️Handled duplicates by sorting and skipping visited or similar adjacent characters.
◼️Ensured all unique permutations are captured.
#geekstreak2024 #gfg160