DEV Community

codewitgabi
codewitgabi

Posted on

What is memoization

This is a submission for DEV Computer Science Challenge v24.06.12: One Byte Explainer.

Explainer

Say I go to a store to get some groceries, the price of my items is calculated but then I decide to add a new item, the new price is added to the already calculated price instead of adding the price of every item again. That is memoization

Top comments (0)