Faster Fibonacci Algorithm
Problem
You would like to calculate a number N in the Fibonacci sequence but want
to do it quickly.
Solution
The following solution (which can still be improved on) was originally
talked about on Robin Houston’s blog.
Here are a few links talking about the algorithm and ways to improve it:
This code is in gist form here:
https://gist.github.com/1032685
Discussion
Questions?