RSS Email Twitter GitHub Dribbble LinkedIn Facebook Instagram YouTube Google+ Pinterest Reddit icon

Ola John

Javascript | Node | React | Vue

Optimise the Hell out of Your Javascript Programs With Memoization

Many moons ago when I started learning algorithms, I had just learned recursion and was feeling like a Jedi. You know what they say?: “if all you have is a hammer, everything looks like a nail”. I was trying to solve every task imaginable with some form of recursion. Turns out it was a terrible idea. I got a rude awakening when I tried to solve a long sequence of Fibonacci series with Recursion, my computer just couldn’t handle it.