A technique where a function calls itself to solve smaller instances of a problem. What is this concept called?
- A. Recursion ✓
- B. Compilation
- C. Static typing
- D. Data type
Correct answer
A. Recursion
Explanation
Recursion refers to a technique where a function calls itself to solve smaller instances of a problem.