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`.
Glossary: Algorithms Beyond the Basics in C++
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`.