Performance optimization technique that caches results of expensive function calls.
Solution Code
JavaScript
const memoized = () => { /* cache logic */ };
Explanation
Commonly implemented using closure-maintained cache objects.Guided Hints
Compare with caching
Implement simple memoization