← Zoho questions
CodingReported in a candidate post, Nov 2019

Final Position in Infinite Grid After Moves

Filed under Zoho

Given an initial coordinate (x, y) on a 2D infinite grid and a string of movement commands containing 'L' (left), 'R' (right), 'U' (up), and 'D' (down), calculate the final coordinate after executing…

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 Zoho questions

Collected from public candidate posts and coding forums. Updated Nov 2026.