Count Trailing Zeros in Factorial of Number
Here you will learn about how to count trailing zeros in factorial of number. One simple approach to count trailing zeros is first find factorial of number and then count the zeros in the factorial one by one. It is fine for smaller number like 10. 10! = 3628800 So, trailing zeros = 2 But …
