How do i get rid of the run time error

I am facing this problem with run time error even though my code is working fine, it is happening in almost all the codes kindly, provide a workable solution to this problem.
Thanks

hello @KushagraNITJ

practice more to avoid such errors.

please refer this->

i used the same algorithm that you have used but i am getting run error in my code i want to know why is that i am getting a run error even though my code runs fine

@KushagraNITJ
pls share u code so that i can check and debug

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.