4 ms·
There is no constant time implementation. Binet's formula uses exponentiation, which gives us log(n) time.
by yaks_hairbrush 10y ago
There is no constant time implementation. Binet's formula uses exponentiation, which gives us log(n) time.
4 ms·