Analog Devices Interview Question

Calculate the nth Fibonacci number. Calculate the sum of an integer array