Capgemini Interview Question

Fibonacci Series