All test cases passed except first

here is my code :- https://ide.codingblocks.com/s/622769

Hi @Coderdeep
refer this --> https://ide.codingblocks.com/s/622796

thanks but can you tell what was wrong in my approach as in the lectures by sir i have been taught like this only
Thanks

@Vaibhav277 Vaibhav277

Hi @Coderdeep
pls go through the video lecture then and tally ur code as i dont know whats taught in lecture…

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.