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 Solvers46
Suggested Problems
-
Project Euler: Problem 3, Largest prime factor
1830 Solvers
-
167 Solvers
-
Make an awesome ramp for a tiny motorcycle stuntman
787 Solvers
-
170 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2246 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!