Rat in a maze

medium

The clearest picture of what backtracking actually means: a path is marked on the way in and erased on the way out, so a dead end leaves no trace to block later attempts.

Worst O(4^(rows×cols))Space O(rows×cols)
Loading the rat in a maze engine…

Where to go next