Skidata interview question

Fibonacci series