Skip to main content

Recursion

Learn Recursion (Programming Concepts, Programming Fundamentals) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

What is Recursion? Recursion is when a function solves a problem by calling itself with a smaller version of the same problem. Each call works on a slightly simpler input, until the problem becomes so simple it can be answered directly, without any further calls.

More lessons in Programming Concepts