Problem 47 · Medium
Generate all unique permutations using backtracking.
Open the interactive visualisation