Problem Description
Given an integer A, return the number of trailing zeroes in A!.
Note: Your solution should be in logarithmic time complexity.
0 <= A <= 10000000
First and only argumment is integer A.
Return an integer, the answer to the problem.
Input 1:
A = 4
Input 2:
A = 5
Output 1:
0
Output 2:
1
Explanation 1:
4! = 24
Explanation 2:
5! = 120
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a question? Checkout Sample Codes for more details.