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 Solvers42
Suggested Problems
-
Find state names that end with the letter A
1198 Solvers
-
Get the area codes from a list of phone numbers
1075 Solvers
-
Sum all integers from 1 to 2^n
17826 Solvers
-
971 Solvers
-
Matrix multiplication across rows
399 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!