Base case(stopping case)

The branch of a recursive function that answers without calling itself. Without one, the calls never stop and the stack runs out of room.

Back to the glossary