Spotify interview question

Write code to memorize a Fibonacci sequence