Computer Science

What is base case?

Python Functions

1 Like

Answer

Base case is the termination condition that defines when the recursion should stop. It prevents the function from infinitely calling itself and ensures that the recursion reaches a stopping point.

Answered By

1 Like


Related Questions