I have a doubt regarding base case

for the base case shouldn’t we add one more condition
if ( n < 0 )
return 0;

hello @laksh.rustagi12

depends on what are ur other base cases.

btw this base is also correct u can add it.