You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correct fibonacci sequence is
[0, 1, 1, 2, 3, 5, 8, ..]
and not
[1, 1, 2, 3, 5, 8, ..].
In the form of function calls, to get Nth element of the Fibonacci
sequence, it should look like this:
F(0) = 0
F(1) = 1
F(2) = 1
F(3) = 2
0 commit comments