20/38
Part 5 of 7 · Graphs and backtrackingLearn

On a grid, mark a cell when you pop it, and your stack visits in recursion's order

The order a stack visits a grid in can differ from recursion's.

Predict

Your stack marks a cell when it pushes it. From (0,0) on an open 3 by 4 grid, when does it visit (0,1), right next to the start?

Pick an answer above to see the rest