Shortest string of accelerations and reverses to reach N
Filed under 1mg
The question
Given a car starting at origin with velocity 1 that doubles on acceleration and inverts on reverse, find the shortest combination of 'A' and 'R' moves to reach +N.
No write-up yet. Related questions below have one.
Related 1mg questions
Collected from public candidate posts and coding forums. Updated Nov 2026.