yshshrm / Data-Structures-And-Algorithms-Hacktoberfest18

List of data structures and algorithms. Feel free to contribute under Hacktoberfest '18!
204 stars 1.1k forks source link

Create nthFibonacci.py #1479

Open 2knal opened 5 years ago

2knal commented 5 years ago

I am adding a function NthFibonacci, with which we can find the nth fibonacci number in O(logn) time.