Permutations
Return all possible permutations of a distinct integer array.
Approach: DFS (Backtracking)
Click play to start
Step 0 / 0
Press play to start the visualization.
1×
Return all possible permutations of a distinct integer array.