Decide the winner of an alternating game where each move removes one apple, one banana, three apples and one banana, or one apple and three bananas from piles of a apples and b bananas.
Medium7Game theoryDynamic programmingMathNo attempts yetTime limit1sMemory limit128 MB