Write an algo for finding nth fibonacci number.
Hint: Recursive solution is not acceptable :D O(n) is obvious :D, We are talking about O(logn) solution :)
1 year ago
Feel free to contribute, however it will be moderated to curb spams.
Write an algo for finding nth fibonacci number.
Hint: Recursive solution is not acceptable :D O(n) is obvious :D, We are talking about O(logn) solution :)
No comments:
Post a Comment