Given a number n, find the last non-zero digit of the factorial of that number. You need to take care of the large values of n.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers41
Suggested Problems
-
Find state names that start with the letter N
1450 Solvers
-
The Answer to Life, the Universe, and Everything
579 Solvers
-
98 Solvers
-
1265 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1760 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!