This seems to be a common one in finance interviews. Just count the number of 5's: it's 20 plus an extra one for each multiple of 25 (25, 50, 75, 100). Total is 24.
5
Sigiloso
20 de jan. de 2014
Since factor 2 is always more, it depends how many 5s in 100! - which is [100/5] + [100/25] + [100/125] + ... = 24, [] means integer part.
3
Sigiloso
8 de out. de 2012
The question is equivalent to asking how many fives we have from 1-100. Notice that some of the numbers contains more than one 5s.
2+2+3+2+3+2+2+3+2+3=24
1
Sigiloso
22 de ago. de 2015
all answers are for number of 0's in ending digits.....
Sigiloso
3 de nov. de 2018
There're 30 zeros, counted in Python, guys.100! = 93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000