Jump Trading Interview Question

How many 0s in 100! ?

Interview Answers

Anonymous

Apr 13, 2010

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

Anonymous

Jan 20, 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

Anonymous

Oct 8, 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

Anonymous

Aug 22, 2015

all answers are for number of 0's in ending digits.....

Anonymous

Nov 3, 2018

There're 30 zeros, counted in Python, guys.100! = 93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000