Cognizant Interview Question

Aptitude questions, Coding questions - Fibonacci sequence