Given a number n, find last digit of nth Fibonacci number
For example, for n=35,
F(35) = 9227465
so, ans=5.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers28
Suggested Problems
-
4781 Solvers
-
Find the sum of the elements in the "second" diagonal
1204 Solvers
-
795 Solvers
-
Determine if input is a perfect number
262 Solvers
-
Calculate the base-10 logarithm of a number
126 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!