check the video : ladder problem recursion: time 5:16
In base case he said , if (n==0 ){ return 1 } . why one ? why not zero?
the boy is already standing at the ground, so don’t need to go anywhere. som why did he return 1 and not 0?
video link: https://online.codingblocks.com/app/player/49396/content/151214/8193/lecture