Explain the concept of a base case in recursion.
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: easy
Interview Round: Other
Overview: Asks what a base case is in a recursive function and why recursion needs one. Tests understanding of termination, choosing correct base cases for the smallest and empty inputs, and what happens when a base case is missing or unreachable.