Skip to content

Glossary: Data Structures and Algorithms in Java

recursion

Also written: recursive

A method solving a problem by calling itself on a smaller piece of the same problem, with a base case that stops it.

Where the book teaches it

Related terms

base casecall stackStackOverflowError