Time limit exceeded error

Hello @zabhishek i have corrected your code and commented the mistake:


Happy Learning!!

got the mistake but it’s till showing tle. What to do?

@zabhishek no
it is passing test cases when i am submitting it.
could you please check which code you are trying to submit?

There was some error but it’s passing the test cases now. Thank you.

@zabhishek can i mark this as resolved now?
please confirm

yes .

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.