โ† Amazon questions

Reach target coordinate from (1,1) via additions

Filed under Amazon

Starting from point (1, 1) on an infinite grid, determine if you can reach target point (x, y) by repeatedly applying moves (x+y, y) or (x, x+y).

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.