HERE Technologies Interview Question

Write a snippet of code for the Fibonacci series.