We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Fibonacci Finding (easy)
Fibonacci Finding (easy)
Sort by
recency
|
141 Discussions
|
Please Login in order to post a comment
My C++ sollution using fast matrix exponentiation at compile time.
simple recurrance relation formula
maths
Simple and efficient algorithm for finding Fibonacci numbers. Fascinating sequence that unlocks nature's hidden math! Cricbet99 com
My code works only for the first case, in larger cases I get an error. Can you give me some advice on how to proceed?
Tagging the problem as easy seems like an intentional troll.
Here's my Python3 solution, using matrix exponentiation by repeated squaring: