Skip to content

Glossary: Coding Interviews

RecursionError

Also written: recursion limit

A Python error raised when recursion goes too deep. On large inputs, use a stack-based DFS or a bottom-up DP table instead.

Where the book teaches it

Related terms

Bottom-upDFS (depth-first search)