Friends pairing recursion!

Why n=0 return 1 in recursion, it should be 0 right?

it will depend on question
if in question is mention to count that case as well in which no one go
then it should be 1 otherwise 0

bhaiya take 1 for n=0
because if no one goes then this is also one possibility so count as 1

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.