DEV Community

codewitgabi
codewitgabi

Posted on

7 4 3 2

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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more