22/38
Part 5 of 7 · Graphs and backtrackingLearn
Pick DFS or BFS by what the question needs
Each search fits a different question.
Breadth-first from (0,0) on an open 3 by 4 grid, trying up, down, left, right. What number does (0,1), right of the start, get?
Pick an answer above to see the rest