You are given a non-negative integer n.
Your task is to determine the total number of trailing zeroes in the result of n! (n factorial).
Note that:
n! (n factorial) is defined as the product of all positive integers from 1 up to n.n = 5, then 5! = 5 * 4 * 3 * 2 * 1 = 120.Return the total number of trailing zeroes.
5
1
5! = 120, which has one trailing zero.
10
2
10! = 3,628,800, which has two trailing zeroes.
2
0
2! = 4, which has no trailing zeroes.
5
1