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 Solvers44
Suggested Problems
-
Find the numeric mean of the prime numbers in a matrix.
9175 Solvers
-
Increment a number, given its digits
690 Solvers
-
1434 Solvers
-
Find the maximum number of decimal places in a set of numbers
3610 Solvers
-
Numbers spiral diagonals (Part 1)
312 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!