Glossary: Algorithms Beyond the Basics in Rust
Base case
The situation in 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 Rust
The situation in a recursive function where it stops calling itself and returns an answer directly, such as when every item has been decided in `subsets`.