Permutations — Interactive Visualizer
Generate all possible permutations of an array by trying every unused element in each slot.