Premium

Maze Traversal (Find a Path in a Grid)

By FrontendAtlas Team · Updated Feb 1, 2026

Given a 2D grid of 0/1 (0=open, 1=wall), determine if a path exists from start to end using 4-direction moves. Use BFS/DFS with visited tracking. Complexity: O(rows*cols) time, O(rows*cols) space.

Challenge preview

Maze Traversal (Find a Path in a Grid): Given a 2D grid of 0/1 (0=open, 1=wall), determine if a path exists from start to end using 4-direction moves. Use BFS/DFS with visited…. Expect algorithms and grid decisions under intermediate level constraints.

Premium unlocks

  • Full editor workflow with starter files, tests, and solution context.
  • Edge cases, common mistakes, and complexity notes for the interview discussion.
  • Progress tracking once you unlock and complete the challenge.

Free warm-up options

Upgrade to FrontendAtlas Premium to unlock this challenge. Already upgraded? Sign in to continue.