Topic: Backtracking Problem / Level: beginner

Problem: Find all permutations of a given string, taking into account the uniqueness of characters. Return the permutations in lexicographical order.

Run the code to see the output here...