Cognizant Interview Question

Asked me to write Fibonacci code