Sponsored
Use these hints if you're stuck. Try solving on your own first.
Which pile of coins will you never be able to pick up?
Bob is forced to take the last pile of coins, no matter what it is. Which pile should you give to him?
Solve with full IDE support and test cases