Doubt in Ladder problem recursion

Why in questions of recursion we return 1 for n = 0 (At 05:06)? It’s quite confusing for me.

Please help me out. Thanks

Hey @gambhirrahul0
Since no of ways to reach n when n=0 is 1 hence we return 1

I’ve dropped some queries over the chat, please help me out.

replied :slight_smile:

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.