Available question text
Given an infinite integer grid and allowed moves that either double one coordinate or replace a coordinate by its difference with the other ((x,y) -> (2x,y), (x,2y), (x,y-x), (x-y,y)), determine whether (targetX,targetY) can be reached from (1,1). Targets up to 1e9 force a mathematical/reverse-reduction approach rather than brute-force search.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2543. Check if Point Is Reachable
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source