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