It is giving me run time error and i dont know why

My fuction is - https://ide.codingblocks.com/s/392880

Hey @sukritbansal01
Please share the link where u are submitting it
I will check there :slight_smile:

https://online.codingblocks.com/app/player/148149/content/151911/8696/code-challenge

Hey @sukritbansal01
there is problem in your logic I suggest u to rewatch the video lecture. :slight_smile:

1 Like

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.