Hobey Tournament — Google

Posts tagged “Google”.

February 6th 2012

Google Job Interview Questions

Google Job Interview Questions – The Hardest 8

1. Explain a database in 3 sentences to your 7 year old nephew.

A database is a way of organising information. It?s like a genie who knows where every toy in your room is. Instead of searching for certain toys yourself and looking around the whole room, you can ask the genie to find all your toy soldiers, or only X-Men action figures, or only race cars ? anything you want him to find.

2. How many golf balls could you fit into a classic American yellow school bus?

The density of a closest packing for spheres is pi/sqrt(12) or .9069.

1/.9069 = 1.1027 volume occupied by spheres in a given space.

All the material in a school bus can be treated as a cylinder with a radius of 4 feet or 48 inches and a length of 22 feet or 264 inches. (pi(r)^2)h is the volume of a cylinder. The total volume is 401,420 cubic inches. The diameter of the ball is 1.6 and is enclosed by a cube with volume = 4.096. 401,420/4.096= 98,001

This is then multiplied by the density to give you 88,877 balls.

3.