J.P. Morgan interview question

Fibonacci sequence and a video explain how you solved it.