Skip to main content

Implicit Grid Graph

Treat 2-D matrix cells as vertices and 4-way rules + wall checks as on-the-fly edges.

This lesson has not been built yet.

Related problems 5

  1. Number of Islands

  2. Rotting Oranges

  3. Shortest Path in Binary Matrix

  4. Path With Minimum Effort

  5. Swim in Rising Water

See the connected practice path →