← Amazon questions

Determine if a valid path exists from the top to bottom row in a maze

Filed under Amazon

Given a 2D grid maze with open paths and obstacle walls, determine whether there is an unobstructed path connecting any cell in the topmost row to any cell in the bottommost row.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.