Skip to content

Glossary: Algorithms Beyond the Basics in Java

base case

The simplest situation in a recursive method, where it stops calling itself and returns or saves a result. In `subsets` it is when every item has been decided.

Where the book teaches it

Related terms

backtrackingmemoization