0
Does base case mean the exit() function?
2 Answers
+ 6
In recursive functions, each successiveĀ recursiveĀ call should bring you closer to a situapon in which the answer is known. AĀ caseĀ for which the answer is known (and can be expressed withoutĀ recursion) is called aĀ base case.Ā
+ 3
I want to give you an answer in which the answer itself is recursive, but I can't.