Pergunta de entrevista da empresa Analog Devices

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