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
-
Determine whether a vector is monotonically increasing
23531 Solvers
-
Find common elements in matrix rows
2721 Solvers
-
176 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
738 Solvers
-
check whether a number is a pentatope number
69 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!