Scott Miller

Appsguild - Software craftsmanship, project management, and the biz of software

  Home  |   Contact  |   Syndication    |   Login
  153 Posts | 3 Stories | 177 Comments | 72 Trackbacks

News



Article Categories

Archives

Image Galleries

Best Blogs

Podcasts

Scott's links

A supposedly list of true Google interview questions. Jeez, they make my head hurt.

My favorite:
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?

posted on Monday, September 17, 2007 9:31 PM

Feedback

# re: Google Interview Questions 9/18/2007 4:16 AM Manoj Janoti
The lady who thinks that there is no man in the village who is cheating his wife will kill hes husband because her own husband is cheating her. As her thought will concludes that at least one should be cheating and she is sure about other's husband that they are not cheating that's why she will kill her husband

# re: Google Interview Questions 9/25/2007 1:09 PM boon doggle
All the men are killed since at least one has cheated meaning all has cheated!

# re: Google Interview Questions 10/28/2007 2:39 AM oh
There may be many cases, but here is a simple one.
All men cheated. Then, a wife knows all husbands except hers cheated. Another wife also knows all husbands except hers cheated. They talk each other what they learned. Now, each wife of the two know her husband is one of the 99 husbands whom the other wife found to have cheated.

# re: Google Interview Questions 1/16/2008 2:48 PM v
Since wife never knows her husband has cheated there is no way of killing an husband. It can't be proved.

# re: Google Interview Questions 2/22/2008 2:41 AM asdf
The queen had an affair with one of the husbands, that's why she knows

# Few More Google Interview Questions 3/18/2008 5:13 AM Chaitanya


Interview At Google
Google Top Interview Questions ( around 30 With Solutions)
Google Interview for Freshers

Post Feedback

Title:
Name:
Email: (never displayed)
Url:
Comments: 
Please add 5 and 2 and type the answer here: