Solving the Nth value of the Fibonacci sequence



Nth Fibonacci

AlgoExpert Intro

The Fibonacci sequence is defined as follows: the first number in the sequence is 0, the second is 1, and the nth number is the sum of (n-1)th and (n-2)th numbers. Write a function that takes in an integer n and returns...



Read: https://hashnode.stevemorgan.dev/solving-the-nth-value-of-the-fibonacci-sequence