Hi I was trying this problem, and I believe i got the solution but it was showing TLE in 3 test cases.
After a long struggle, I unlocked the solution but found that the solution only passes 2 test cases.
Please have a look on this
Something wrong with test cases/Solution
Yeah there is an issue with testcases.
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.