Optum Interview Question

Write algorithm for generating Fibonacci series