Algorithms

Stack overflow

The error that happens when more calls pile up than fit on the call stack, almost always because of recursion that's too deep or has no base case.

Example

Python allows about 1,000 levels: a recursive function that reaches f(5,000) stops with this error.

Lessons that use it

More algorithms terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.