← Amazon questions

Matrix Explosion and Reachability

Filed under Amazon

Given a grid with an explosion point, find the minimum time for the blast to reach all cells. Explain why Breadth-First Search (BFS) is preferred over Depth-First Search (DFS) for this shortest-path…

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.