← Questions

Can repeated pair additions reach a target point

0
NvidiaAmazonCodingLast asked Jul 2026

From a starting point (x, y) you may move to (x + y, y) or (x, x + y). Decide whether a target point is reachable, efficiently even for very large coordinates.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding