Ballmerpeak devblog

Software development, related stuff and others

Fibonacci cute

August 05, 2016 — Richárd Thier

Lately I was implementing a general task processing engine and people asked me if I can put in some retry strategies. The system is well elaborated, but long text going short - I have just found a cute way for calculating fibonacci. Actually because I have asked a question for a programming competition for calculating fibonacci (without telling what they need to calculate) now I have a lot of funny methods for it! Read more if you want to see the non-recursive, directly expressed math version and also a little code for the inverse of the function.

Read more...

Tags: fibonacci, math, alternative, algorithms, java, c++