2 patterns
2 patterns · Updated 7/19/2026
Permutations and subsets — the two backtracking templates everything else builds on.