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 Solvers30
Suggested Problems
-
Extract leading non-zero digit
2258 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
897 Solvers
-
Count decimal digits of a number
238 Solvers
-
Matlab Basics - Logical Tests I
271 Solvers
-
94 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!