Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Describe your change:
I have added another approach to find nth fibonacci number to this code in DynamicProgramming folder. The code uses iterative approach and no recursion, but used the technique of memoization to hold the dynamic programming paradigm. Added code runs in O(n) time and it uses less space than memoization technique with recursion.
References
Fixes issue #1528
Checklist:
Fixes: #{$ISSUE_NO}.I have attached changed code screenshot below.

Do let me know of this PR.
Thanks