Game of batons
Filed under Flipkart
The question
Two players hold up to x and y batons. They can throw all batons or pick up an amount equal to what they currently hold. Determine if the total sum of batons in both hands can ever reach a target value.
No write-up yet. Related questions below have one.
Related Flipkart questions
Collected from public candidate posts and coding forums. Updated Nov 2026.