CodingReported in a candidate post, Oct 2015
Minimum moves for a frog to reach coordinates
Filed under Zillious
The question
A frog starts at position (0, 0) and can only move by turning left and moving forward or turning right and moving forward. Write a function that takes coordinates (x, y) as input and calculates the minimum number of moves to reach the destination.
No write-up yet. Related questions below have one.
Related Zillious questions
Collected from public candidate posts and coding forums. Updated Nov 2026.