this question is repeatation of optimal game strategy 1 . i got AC in optimal strategy game 1 but getting WA in optimal strategy game 2 , pls check my code and pls check the test cases .
Pls check test cases
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.