Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ fast_fibonacci.py
File
fast_fibonacci.py
dynamic_programming/fast_fibonacci.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env python3
2
3
""
"
4
This program calculates the nth Fibonacci number in O(log(n)).
Callers
nothing calls this directly
Calls
1
fibonacci
Function · 0.70
Tested by
no test coverage detected