← Amazon questions

Paths in 2D array with entry/exit points

Filed under Amazon

Given an `m x n` grid with obstacle cells (`1`) and empty cells (`0`), along with a list of entry points and exit points on the grid boundary, calculate the total number of unique paths from any entry…

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.