i got WIN as answer
and i think it is correct…any other test case??
What about this one?
i think its correct as both score becomes 10 and now we need 2 consecutive wins for a player to win
any other test case??
No this is LOSE, because the scores after 10:10
This is the first time when someone leads by two point.
yes @iscsi u are correct…i missed "lead " in ques…thanks for giving your time buddy!!
constraint of this problem says that 1<=|s|<=100.
so, if |s|=1, how we will decide the winner?