Week 5 · Day 30 of 42

Backtracking: Permutations

Every element must appear exactly once. Use a visited set or swap-based approach.

Checking access

Spotted a mistake on this page?

Wrong formula, broken animation or confusing wording. Tell us and we will fix it.