Problem 47 · Medium

Permutations II

Generate all unique permutations using backtracking.

Open the interactive visualisation