Google Interview Questions

Want to work for Google? Here’s an example of questions to expect during your interviews.

1. How many golf balls can fit in a school bus?
2. You are shrunk to the height of a nickel and your mass is proportionally reduced so as to maintain your original density. You are then thrown into an empty glass blender. The blades will start moving in 60 seconds. What do you do?
3. How much should you charge to wash all the windows in Seattle?
4. How would you find out if a machine’s stack grows up or down in memory?
5. Explain a database in three sentences to your eight-year-old nephew.
6. How many times a day does a clock’s hands overlap?
7. You have to get from point A to point B. You don’t know if you can get there. What would you do?
8. Imagine you have a closet full of shirts. It’s very hard to find a shirt. So what can you do to organize your shirts for easy retrieval?
9. Every man in a village of 100 married couples has cheated on his wife. Every wife in the village instantly knows when a man other than her husband has cheated, but does not know when her own husband has. The village has a law that does not allow for adultery. Any wife who can prove that her husband is unfaithful must kill him that very day. The women of the village would never disobey this law. One day, the queen of the village visits and announces that at least one husband has been unfaithful. What happens?
10. In a country in which people only want boys, every family continues to have children until they have a boy. if they have a girl, they have another child. if they have a boy, they stop. what is the proportion of boys to girls in the country?
11. If the probability of observing a car in 30 minutes on a highway is 0.95, what is the probability of observing a car in 10 minutes (assuming constant default probability)?
12. If you look at a clock and the time is 3:15, what is the angle between the hour and the minute hands? (The answer to this is not zero!)
13. Four people need to cross a rickety rope bridge to get back to their camp at night. Unfortunately, they only have one flashlight and it only has enough light left for seventeen minutes. The bridge is too dangerous to cross without a flashlight, and it’s only strong enough to support two people at any given time. Each of the campers walks at a different speed. One can cross the bridge in 1 minute, another in 2 minutes, the third in 5 minutes, and the slow poke takes 10 minutes to cross. How do the campers make it across in 17 minutes?
14. You are at a party with a friend and 10 people are present including you and the friend. your friend makes you a wager that for every person you find that has the same birthday as you, you get $1; for every person he finds that does not have the same birthday as you, he gets $2. would you accept the wager?
15. How many piano tuners are there in the entire world?
16. You have eight balls all of the same size. 7 of them weigh the same, and one of them weighs slightly more. How can you find the ball that is heavier by using a balance and only two weighings?
17. You have five pirates, ranked from 5 to 1 in descending order. The top pirate has the right to propose how 100 gold coins should be divided among them. But the others get to vote on his plan, and if fewer than half agree with him, he gets killed. How should he allocate the gold in order to maximize his share but live to enjoy it? (Hint: One pirate ends up with 98 percent of the gold.)

The Worlds Oldest Joke. No Really

The world’s oldest recorded joke has been traced back to 1900 BC and suggests toilet humor was as popular with the ancients as it is today.

It is a saying of the Sumerians, who lived in what is now southern Iraq and goes: “Something which has never occurred since time immemorial; a young woman did not fart in her husband’s lap.”

It heads the world’s oldest top 10 joke list published by the University of Wolverhampton Thursday.

A 1600 BC gag about a pharaoh, said to be King Snofru, comes second — “How do you entertain a bored pharaoh? You sail a boatload of young women dressed only in fishing nets down the Nile and urge the pharaoh to go catch a fish.”

The oldest British joke dates back to the 10th Century and reveals the bawdy face of the Anglo-Saxons — “What hangs at a man’s thigh and wants to poke the hole that it’s often poked before? Answer: A key.”

“Jokes have varied over the years, with some taking the question and answer format while others are witty proverbs or riddles,” said the report’s writer Dr Paul McDonald, senior lecturer at the university.

“What they all share however, is a willingness to deal with taboos and a degree of rebellion. Modern puns, Essex girl jokes and toilet humor can all be traced back to the very earliest jokes identified in this research.”

Worst Analogies Ever Written in a High School Essay

These are the winners of the “worst analogies ever written in a high school essay” contest.

He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it.
– Joseph Romm, Washington

She caught your eye like one of those pointy hook latches that used to dangle from screen doors and would fly up whenever you banged the door open again.
– Rich Murphy, Fairfax Station

The little boat gently drifted across the pond exactly the way a bowling ball wouldn’t.
– Russell Beland, Springfield

McBride fell 12 stories, hitting the pavement like a Hefty Bag filled with vegetable soup.
– Paul Sabourin, Silver Spring

From the attic came an unearthly howl. The whole scene had an eerie, surreal quality, like when you’re on vacation in another city and “Jeopardy” comes on at 7 p.m. instead of 7:30.
– Roy Ashley, Washington

Her hair glistened in the rain like nose hair after a sneeze.
– Chuck Smith, Woodbridge

Her eyes were like two brown circles with big black dots in the center.
– Russell Beland, Springfield

Bob was as perplexed as a hacker who means to access T:flw.quid55328.com\aaakk/ch@ung but gets T:\flw.quidaaakk/ch@ung by mistake
– Ken Krattenmaker, Landover Hills

Her vocabulary was as bad as, like, whatever.
– Unknown

He was as tall as a six-foot-three-inch tree.
– Jack Bross, Chevy Chase

The hailstones leaped from the pavement, just like maggots when you fry them in hot grease.
– Gary F. Hevel, Silver Spring

Her date was pleasant enough, but she knew that if her life was a movie this guy would be buried in the credits as something like”Second Tall Man.”
– Russell Beland, Springfield

Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. traveling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph.
– Jennifer Hart, Arlington

The politician was gone but unnoticed, like the period after the Dr. on a Dr Pepper can.
– Wayne Goode, Madison, Ala.

They lived in a typical suburban neighborhood with picket fences that resembled Nancy Kerrigan’s teeth.
– Paul Kocak, Syracuse, N.Y.

John and Mary had never met. They were like two hummingbirds who had also never met.
– Russell Beland, Springfield

The thunder was ominous-sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play.
– Barbara Fetherolf, Alexandria

His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free.
– Chuck Smith, Woodbridge

The red brick wall was the color of a brick-red Crayola crayon.