bishwobista / crack-code

Crack all the coding questions.
7 stars 43 forks source link

Add memoize function using Closure #135

Open libinthomas33 opened 10 months ago

libinthomas33 commented 10 months ago

Memoization is an optimisation technique where expensive function calls are cached such that the result can be immediately returned the next time the function is called with the same arguments.