CodingReported in a candidate post, Sep 2020
Maximum overlapping steps of two walkers
Filed under Flipkart
The question
One person starts at x and moves n steps in a line; another starts at x2 with the first step landing on one of the first person's steps. Find the maximum number of overlapping steps.
No write-up yet. Related questions below have one.
Related Flipkart questions
Collected from public candidate posts and coding forums. Updated Nov 2026.