Capgemini Interview Question

Fibbonacci series question