Srinivas Thirusrisblog.hashnode.dev·May 16, 2023Mastering MemoizationIntroduction: Dynamic programming can be a game-changer when it comes to solving complex optimization problems. But did you know that there's a secret weapon within dynamic programming called memoization? In this blog post, we'll embark on a journey ...Discuss·100 readsMemoization

Ogundiran Ayobamiyoutoocancode.hashnode.dev·Oct 1, 2022Understand the Fibonacci Sequence in javascriptWelcome to this tutorial, in this tutorial, we discuss how to use the Fibonacci Sequence in the real world. Be informed that the Fibonacci series is used in design, programming and trading; It is used as a trading strategy called the "Fibonacci Retra...Discuss·186 readsNth Fibonacci Number

Divyansh Sareendivyanshsareen.hashnode.dev·Jul 1, 2022Nth Fibonacci NumberFibonacci Numbers represent a series of numbers where the nth number is the sum of the previous two elements starting from 0 and 1 as the first two elements. Since ancient times mathematicians around the world have mentioned this series in their work...Discuss·1 like·170 readsJavaScript

Sumant Kumarsumant4ssm.hashnode.dev·Jun 30, 2022The optimal approach to find the nth Fibonacci number using recursion in JavaIf you are a programmer or computer science student, you must be aware of the Fibonacci sequence and how we calculate it using recursion. No? Ok, then, let's see the typical recursive approach. private static int headRecursion(int n){ if (n==...Discuss·10 likes·89 readsDSA - RecursionJava