What I am trying to do in my solution is keeping track of the winner [1 if the player whose turn is wins else 2 (opponent wins)]. I am not able to figure out when does this fails.
What I am trying to do in my solution is keeping track of the winner [1 if the player whose turn is wins else 2 (opponent wins)]. I am not able to figure out when does this fails.