Quote image editor
“Recursion in computer science is a method of solving a problem, where the solution depends on solutions to smaller instances of the same problem. Such problems can generally be solved by iteration, but this needs to identify and index the smaller instances at programming time.” — Rico Roho
Recursion in computer science is a method of solving a problem, where the solution depends on solutions to smaller instances of the same problem. Such problems can generally be solved by iteration, but this needs to identify and index the smaller instances at programming time.