For given positive integer n, take factorial of that number. How many trailing zeros does it have?
Example: factorial(11) = 39916800
Its last zero-digit count is 2.
Optional: Can you make an efficient algorithm for a very large n?
Sum all integers from 1 to 2^n
6327 Solvers
196 Solvers
77 Solvers
Add one raw in given matrix as shown in example
98 Solvers
395 Solvers
Problem Tags