Base Case
A base case is the condition in a recursive function that stops the recursion. Without it, the function would call itself forever and crash.
A base case is the condition in a recursive function that stops the recursion. Without it, the function would call itself forever and crash.