Skip to content

Glossary: Algorithms Beyond the Basics in C++

base case

The simplest case of a recursive function, where it stops calling itself and returns an answer directly, such as when every item has been decided in `subsets`.

Where the book teaches it

Related terms

call stack