Pergunta de entrevista da empresa JPMorganChase

Write code for fibonacci sequence.