Not hitting base case

https://ide.codingblocks.com/s/328898

refer to your corrected code


i have marked your error
hope this helps :slight_smile: