DSA/Leetcode Flashcards

(2 cards)

1
Q

Backtracking

A

Trying all possible options, one step at a time, and undoing (backtracking) when a path doesn’t work, to explore other choices.

Backtracking = DFS + Undo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly