Added matrix exponentiation approach for finding fibonacci number. (#… · acoder77/Python@60c608d · GitHub
Skip to content

Commit 60c608d

Browse files
mahbubcsejucclauss
authored andcommitted
Added matrix exponentiation approach for finding fibonacci number. (TheAlgorithms#1042)
* Added matrix exponentiation approach for finding fibonacci number. * Implemented the way of finding nth fibonacci. * Complexity is about O(log(n)*8) * Updated the matrix exponentiation approach of finding nth fibonacci. - Removed some extra spaces - Added the complexity of bruteforce algorithm - Removed unused function called zerro() - Added some docktest based on request * Updated the matrix exponentiation approach of finding nth fibonacci. - Removed some extra spaces - Added the complexity of bruteforce algorithm - Removed unused function called zerro() - Added some docktest based on request * Tighten up main() and add comments on performance
1 parent 9fcfe6a commit 60c608d

1 file changed

Lines changed: 88 additions & 0 deletions

File tree

Lines changed: 88 additions & 0 deletions

0 commit comments

Comments
 (0)