-
Website
http://www.esarcasm.com/ -
Original page
http://www.esarcasm.com/7243/crazy-google-interview-questions/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
umkcdds
4 comments · 2 points
-
wendywhy
12 comments · 5 points
-
itsmrjerktoyou
4 comments · 2 points
-
Dr. Smartass
6 comments · 2 points
-
steveballmer
6 comments · 3 points
-
-
Popular Threads
-
eSarcasm Uncovers Fatal Flaw in Nexus One Phones
1 day ago · 17 comments
-
VIDEO: Super Mario Jesus
5 hours ago · 1 comment
-
Hump Day Hottie: Jasmine Lennard
2 days ago · 4 comments
-
Live Blogging the Live Blogging of the Google Nexus One Event
3 days ago · 5 comments
-
Douchebags of the Year: 2009
1 week ago · 21 comments
-
eSarcasm Uncovers Fatal Flaw in Nexus One Phones
5. Duck ... You are as thin as a nickel, the blades will spin over your head.
.... Assuming a Sunbeam 4141, the Mother of all Blenders.
How'd I do? =)
---Just my two cents.
10 is wrong too. 0xdeadbeef is the seed for the C rand() function (it's in hex, get it?)
For 7) it's certainly not N! it's more like ~(N!)! but I think a detailed calculation is needed.
1. How many golf balls can you fit in a school bus?
Depends on how many kids are in it.
2. How much should you charge to wash all the windows in Seattle?
Whatever the lowest window washing firm bid I can find is +10 to 20% markup. Then have them do it.
3. How many piano tuners are there in the entire world?
I'm sure one of the piano tuners associations has an estimate. So it is simply a matter of calling them up (assuming a Google search doesn't reveal the number.)
4. 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?
Nothing. Everyone already knows that everyone is cheating and has deliberately kept quiet so that no proof is possible.
5. 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?
Meh, you could jump out of there with the dramatically increased strength to weight ratio, but you might want to just cry and let yourself get chopped up since no woman would date a 3/4 inch tall man.
6. If you look at a clock and the time is 3:15, what is the angle between the hour and the minute hands?
Not enough info to answer because you also need the distance between the clock face and each hand. We do live in a 3D world. The 2D answer is 7.5 degrees.
7. Suppose we have N companies, and we want to eventually merge them into one big company. How many ways are there to merge?
Virtually infinity if you consult different attorneys.
8. Why are manhole covers round?
Everyone knows round covers prevent the cover from falling in. The question is why do they need to do that? The answer is because people can be stupid and get the city into nasty lawsuits if they weren't protected by idiot proof round covers.
9. A man pushed his car to a hotel and lost his fortune. What happened?
The car got impounded when he couldn't pay the parking. The wife got mad when she found out (suspected adultery at the hotel too) and filed for divorce. Between the wife attorneys and fines all the money was lost.
I got bored after this. Seriously, design an evacuation plan for SF during an interview? Delegate to experts who know how to do it.
For the real answers, Potatoboy seems to have got most of them right.
more google interview questions found at : http://bluepixel.ca/blog/?p=69
DEADBEEF ("dead beef") is used by IBM RS/6000 systems, Mac OS on 32-bit PowerPC processors and the Commodore Amiga as a magic debug value. On Sun Microsystems' Solaris, it marks freed kernel memory. On OpenVMS running on Alpha processors, DEAD_BEEF can be seen by pressing CTRL-T.[3]
Gosh, now why didn't I know that off the top of my head?
I'm sure I'd be hired to sweep...
The better response is a reversal back at the interviewer: "So they won't fall in. There's another shape with that same feature, do you know it?" Actually there are many. I had heard this retort, and figured it out on my own.
Oh, I see that wikipedia already had the scoop at http://en.wikipedia.org/wiki/Manhole_cover
Quote:
"A round manhole cover cannot fall through its circular opening, whereas a square manhole cover may fall in if it were inserted diagonally in the hole (A _Reuleaux_ triangle or other _curve of constant width_ would also serve this purpose, but round covers are much easier to manufacture.) In reality, however, the existence of a "lip" holding up the lid means that the underlying hole is smaller than the cover, so that other shapes might suffice."
If they are 100 and just one husband is unfaithful,
First day : Then the wife sees 0 unfaithful other husbands and kill her own.
if it's 2 out of 100 : Then nobody dies on the first day since the 2 wifes see at least one unfaithful husband. The second day, they figure it out.
3 out of 100 : after the 2 first days, if nobody dies it's more than 2 unfaithful husband then, so if they see only 2, then their own must die.
4... same, if they see only 3 that are still alive, their own is guilty.
so if they see 99 cheaters, recursively, they conclude that day 99 should be a bloodbath, if it doesnt happen, it will be a 100 death the next day.
Actually if could be faster, I think after 3 days, it s a bloodbath. The reason is that from day 1, everybody knows that everybody else knows there are at least 98 unfaithful husbands. If that information is made public, the ones who see 97 unfaithful husbands should kill their own, so the next day, if everybody is alive, it means more than 98, day 3 is doomsday.
Weight 1: W1 = X+7Y
Weight 2a: W2a = Y or Weight 2b: W2b = X
If 2a: W1-(7*W2a) = X (W2a = Y)
If 2b: (W1-W2b)/7 = Y (W2b = X)