Hi,
Someone please provide a test case for which my code is failing.
my code
Thanks in advance.
Here is one such test case:-
1
10101010101010101010101000
After both players are at 10 points each, the first player who gets a LEAD of 2 points wins. Not the first person who gets 12 points.
Thank you for the help