Factorial Trailing Zeroes

Solution Code

Time Complexity

O(log N)

Space Complexity

O(1)