JPMorganChase Interview Question

Write a function that solves for the Fibonacci sequence