
Desicription
Given an integer n, return the number of trailing zeroes in n!.
Example 1:
1 |
Input: 3 |
Example 2:
1 |
Input: 5 |
Note: Your solution should be in logarithmic time complexity.
Solution
1 |
class { |

Given an integer n, return the number of trailing zeroes in n!.
Example 1:
1 |
Input: 3 |
Example 2:
1 |
Input: 5 |
Note: Your solution should be in logarithmic time complexity.
1 |
class { |
近期评论