J.P. Morgan interview question

How would you implement the Fibonacci sequence?