Education.com interview question

Fibonacci series