## Interview Question

Senior Software Engineer Interview

-

# How many golf balls can fit in a school bus?

2

Depends how big the school bus is, for simplicity, lets say its the small bus that can fit 20 + 1 people. You have to take account of the empty space as well, therefore a person could be sitting in the middle line and three more in the front so we have around 30 people making a full squished bus. The average size of a golf ball is around 3 cm in diameter. The height of the bus is usually 200 cm, the width of an average person is usually 50 cm. The depth of the seat is about 70 cm You can calculate the volume of that cubic form to be 50 x 70 x 200 x 3 x 30 = the number of golf balls in average.

Anonymous on

2

Nobody need to actually put golf balls in a school buss , nobody care if the number is 61,000,000 or whatever .Nobody in Google cares how good are you in giving estimates to the size of a buss. The answer is bussWidth*bussHight*bussLength / (ball/Diameter ^ 3 * sin (60) * sin(60) ^2 ) . This answer depends on the size of the school buss, different busses yield different answer. The sin(60) are since its gold balls and not cubics.

Jehova on

1

Anonymous on

0

"If you create a line going from the base vertex to the base center, it then becomes clear that this line forms a vertical isosceles right triangle with the height line. In other words, the distance we just found is equal to the height of the tetrahedron." My girlfriend actually figured it out better when I got home. I was wrong saying it was clear that the internal vertical triangle was isosceles. It's not actually isosceles. The way to figure out the height of the tetrahedrom is actually to note that the hypotenuse is 2r and use the Pathagorean(sp?) Theorem: height^2 = (2r)^2 + (r / cos 30)^2, and solve for height. Sorry!

Anonymous on

2

not enough to shove up your a@@

Anonymous on

0

@Anonymous commenter on 9/10/2011: you are completely ignoring the effective volume inside a bus. You would have to subtract volume taken up by seats as well as any people inside the bus.

farkyou on

0

http://mathworld.wolfram.com/SpherePacking.html

devin on

3

48 passenger + 1 driver therefore 49 * 2 = 98

Naing on

0

A school bus of golf balls.

Anonymous on

0

Amateur player vs Tiger Woods balls