โ† Amazon questions

Robot movement in a grid

Filed under Amazon

Given a grid of size M x N, write a recursive function to find the number of unique paths from the top-left corner (0,0) to the bottom-right corner (M-1, N-1), moving only down or right.

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.