Question: Explain the concept of recursion in programming.Answer: Recursion is a programming technique where a function calls itself in order to solve a smaller instance of the same problem.Example:
|
Is it helpful?
Yes
No
Most helpful rated by users:
- What is the difference between a stack and a queue?
- What is the purpose of an index in a database?
- What is the purpose of the \'git\' version control system?