Data structures · Recursion

Remember the answers

Plain recursive Fibonacci repeats the same work millions of times, and a dictionary that remembers each answer stops the repeats.