Regarding Ladder recursion problem

In this question when the person is at 0th position why no. of ways is 1 (in base case) . Can you elaborate me please.

hello @sarthak_singhal

that is done to make implementation easy .

if u dont want it then u need to exlicitly handle n=1 , n=2, n=3 as a base case

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.