Treat a 2D grid as an implicit graph: explore neighbors with BFS for shortest paths and DFS for flood fill.
TryAlgoViz Team
Published 2026-06-02
We're putting the finishing touches on Premium. Join the waitlist and we'll email you the moment it's live.