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 Solvers45
Suggested Problems
-
Number of 1s in the Binary Representation of a Number
487 Solvers
-
Flip the main diagonal of a matrix
927 Solvers
-
Spherical radius given four points
257 Solvers
-
Flag largest magnitude swings as they occur
693 Solvers
-
Construct an index vector from two input vectors in vectorized fashion
462 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!