Skip to content

Glossary: Algorithms Beyond the Basics

RecursionError

Also written: maximum recursion depth exceeded

The error Python raises when recursion goes too deep, such as `ways_fast(5000)`. Bottom-up tables avoid it because they don't recurse.

Where the book teaches it

Related terms

Bottom-up (tabulation)Memoization