Incorta Interview Question

Nim Game (Math Problem ) on LeetCode