What is recursion, and how does it work in programming?
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: easy
Interview Round: Other
Overview: Explain what recursion is and what happens when a function calls itself in a running program. Tests whether a candidate can trace recursive calls on the call stack, reason about stack depth and repeated work, and decide when iteration is the better choice.