Pergunta de entrevista da empresa TigerConnect

Write a function to calculate the nth Fibonacci Number.