172. Factorial Trailing Zeroes
Given an integer n, return the number of trailing zeroes in n!.
Example 1:
Example 2:
Note: Your solution should be in logarithmic time complexity.
Last updated
Was this helpful?
Given an integer n, return the number of trailing zeroes in n!.
Example 1:
Example 2:
Note: Your solution should be in logarithmic time complexity.
Last updated
Was this helpful?