DEV Community

Discussion on: Fibonacci: Recursion vs Iteration

Collapse
 
ashrav profile image
ashrav

"i" should start with 1, or it should continue till <= n;