Recursion- Base and Recursive Case

In any recursion problem, can we write base case after the recursive case? Or is it compulsory to write the base case first and then the recursive one?

well it may be possible in some cases but it is preferred above recursive case @tanyaa.sood

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.