FaangDeck
10 lessons · DSA pattern

Backtracking

Backtracking is a depth-first search over a tree of choices. Build the answer one choice at a time on one shared path , and drop a branch the moment it can…

Start learning →

Free · No signup