Infosys interview question

Write down code for Fibonacci series