Saga (Brazil) interview question

Write code for Fibonacci series