Skip to content

Glossary: Coding Interviews in Java

Call stack

Also written: StackOverflowError

The memory Java uses to track active method calls. Very deep recursion fills it and throws `StackOverflowError`, which is why bottom-up DP or an explicit stack is safer for huge inputs.

Where the book teaches it

Related terms

Bottom-upDFS (depth-first search)Base case