5 testcases: - Wrong Answer
1 testcase- TLE
Refer to the code: -
5 testcases: - Wrong Answer
1 testcase- TLE
Refer to the code: -
I don’t understand what you are trying to do in the is possible function. You have to just check a simple condition to confirm it. Also as you haven’t picked the maximum value in start value of binary search it might give wrong answer
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.