Open Sachindrck opened 2 years ago
Given an integer n, write a function that returns count of trailing zeroes in n!. Examples :
Input: n = 5 Output: 1 Factorial of 5 is 120 which has one trailing 0.
Input: n = 20 Output: 4 Factorial of 20 is 2432902008176640000 which has 4 trailing zeroes.
Hey I'd like to work on this, can you please assign it to me.
Given an integer n, write a function that returns count of trailing zeroes in n!. Examples :
Input: n = 5 Output: 1 Factorial of 5 is 120 which has one trailing 0.
Input: n = 20 Output: 4 Factorial of 20 is 2432902008176640000 which has 4 trailing zeroes.