Skip to content

Glossary: Data Structures and Algorithms

Memoization

Saving the answer to each function call the first time it is computed so it isn't worked out again when the same call repeats. It speeds up recursive functions that solve the same smaller problem many times.

Where the book teaches it

Related terms

Recursion