Shortest Clear Path for a Rover

Hard · Graphs, BFS & DFS · about 25 min

A rover crosses a rocky field drawn as a grid: 0 is clear ground and 1 is a rock.

Hard problems are part of TuringPath Pro. See plans.

Learn the pattern first: the Graphs, BFS & DFS lesson.

More Graphs, BFS & DFS problems