Problem 2623 · Medium

Memoize

Wrap a function so repeated argument lists reuse a stored answer; the visual counts how often the underlying function really runs.

Open the interactive visualisation