Help me to understand the problem of Factorial in DSA

You’re given n. Find the number of trailing 0s in n!.

Let me help you out. I suppose you know what the meaning of factorial is.

@therealnishuz, it’s not the number of zeroes, it’s the number of trailing zeroes. (If we go by the first one, we will get 2 zeroes for 7! (=5040).

Trailing Zeroes :- Brilliant | Trailing Zeroes

**Tutorial :- ** GeeksForGeeks

Oh my bad, I meant trailing.