Total Accepted: 50404
Total Submissions: 158693
Difficulty: Easy
Given an integer _n_, return the number of trailing zeroes in _n_!.
Note: Your solution should be in logarithmic time complexity.
Credits:
Special thanks to @ts for adding this problem and creating all test cases.
Java
1 | public class Solution { |