|
|
|
 |
Hot Topics |
|
|
 |
Welcome to the ChotaNarad.com - The Discussion forum for campus freshers, job, career, companies, and the corporate world.
|
You are currently viewing the forum as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please,
join our community today!
If you have any problems with the registration process or your account login, please contact us. |
| |
| |
Re: Microsoft/Google Interview puzzles
|
 |
|
|
 
|
Join Date : 11/1/2008 5:56:54 PM |
| |
|
|
Re: Microsoft/Google Interview puzzles
11/2/2008 6:58:10 PM
|
|
| Quote:- | | Originally Created By Corporate GuRu | | | There is a room with a door (closed) and three light bulbs. Outside the room there are three switches, connected to the bulbs. You may manipulate the switches as you wish, but once you open the door you can't change them. Identify each switch with its bulb. |
|
| _______________________________________________________________ |
|
|
|
|
|
|
 |
| |
Re: Microsoft/Google Interview puzzles
|
 |
|
|
 
|
Join Date : 11/29/2007 5:14:34 PM |
Inclination : Business and Strategy Consulting |
| |
|
|
Re: Microsoft/Google Interview puzzles
5/23/2008 6:18:25 PM
|
|
| Quote:- | | Originally Created By Khurafaati | | | Good to see some nice little activity going on this thread. Posting an old puzzle asked during HP interviews. Those who are already familiar with it kindly let others answer.
Bob and Dave sit down to eat some bread. Bob has 3 loaves and Dave has 5 loaves. A stranger comes up to them and says that he will pay them if he can share their bread because he is very hungry. They all share the bread equally, and the stranger is very thankful. He says that he has eight coins of equal value to divide between the two men, but he does not know how to divide them. Bob suggests that he and Dave split the reward equally, with each receiving four coins. Dave disagrees, arguing that the 8 loaves be valued one coin each. Dave insists that since he contributed 5 loaves, it’s fair that he get five coins while Bob get three coins. What is the fairest solution to this problem? |
Bob and Dave should get money proportional to the number of bread loaves they are contributing for the stranger's share. The total number of bread loaves is 8.
=> Everyone's share = 8/3
Bob's contribution = 3 - 8/3 {8/3 loaves kept by him for his own consumption} = 1/3 loaves
Dave's contribution = 5 - 8/3 = 7/3
Putting the price of one coin per loaf of bread. Bob should get one coin and Dave should get seven.
Khurafati...Please confirm if I am right |
| _______________________________________________________________ |
In the fell clutch of Circumstance I have not winced nor cried aloud. Under the bludgeonings of Chance My head is bloody, but unbowed.
|
|
|
|
|
|
 |
| |
Re: Microsoft/Google Interview puzzles
|
 |
|
|
 
|
Join Date : 12/22/2007 8:40:03 PM |
Inclination : The name says it all |
| |
|
|
Re: Microsoft/Google Interview puzzles
5/23/2008 9:42:04 AM
|
|
Good to see some nice little activity going on this thread. Posting an old puzzle asked during HP interviews. Those who are already familiar with it kindly let others answer.
Bob and Dave sit down to eat some bread. Bob has 3 loaves and Dave has 5 loaves. A stranger comes up to them and says that he will pay them if he can share their bread because he is very hungry. They all share the bread equally, and the stranger is very thankful. He says that he has eight coins of equal value to divide between the two men, but he does not know how to divide them. Bob suggests that he and Dave split the reward equally, with each receiving four coins. Dave disagrees, arguing that the 8 loaves be valued one coin each. Dave insists that since he contributed 5 loaves, it’s fair that he get five coins while Bob get three coins. What is the fairest solution to this problem? |
| _______________________________________________________________ |
|
|
|
|
|
|
 |
| |
Re: Microsoft/Google Interview puzzles
|
 |
|
|
 
|
Join Date : 11/29/2007 5:14:34 PM |
Inclination : Business and Strategy Consulting |
| |
|
|
Re: Microsoft/Google Interview puzzles
5/22/2008 11:24:38 PM
|
|
| Quote:- | | Originally Created By Rakesh | | | | Quote:- | | Originally Created By Khurafaati | | | A patient has fallen very ill and has been advised to take exactly one pill of medicine A and exactly one pill of medicine B each day. The two pills, which are indistinguishable, must be taken together. If they are not, the patient will die. The patient has bottles of A pills and B pills. She puts one of the A pills in her hand. Then while tilting the bottle of B pills, two B pills accidentally fall out. Now there are three pills in her hand. Because all the pills look identical, she cannot tell which two pills are type B and which is type A. Since the pills are extremely expensive, the patient does not wish to throw away the ones in her hand. How can she save the pills in her hand and still maintain a proper daily dosage? |
Take another pill from bottle A to make two pills of each type of medication. Now cut each pill in half, and keep the halves separate. For the first night, take half of one pill from each pile and you will be guaranteed exactly one A and one B pill. The patient can take the other halves tomorrow. Is that right enough? |
Hi Rakesh,
Your answer seems completely logical.... hats off to you.... I took a different approach though>>>>>>>>
Take another A pill, grind all four pills to a fine powder. Now divide the powder in two equal halves. you have the correct dosage now.
|
| _______________________________________________________________ |
In the fell clutch of Circumstance I have not winced nor cried aloud. Under the bludgeonings of Chance My head is bloody, but unbowed.
|
|
|
|
|
|
 |
| |
Re: Microsoft/Google Interview puzzles
|
 |
|
|
 
|
Join Date : 4/1/2008 8:00:55 PM |
Inclination : Brain-Storming |
| |
|
|
Re: Microsoft/Google Interview puzzles
5/17/2008 3:50:45 PM
|
|
| Quote:- | | Originally Created By Khurafaati | | | A patient has fallen very ill and has been advised to take exactly one pill of medicine A and exactly one pill of medicine B each day. The two pills, which are indistinguishable, must be taken together. If they are not, the patient will die. The patient has bottles of A pills and B pills. She puts one of the A pills in her hand. Then while tilting the bottle of B pills, two B pills accidentally fall out. Now there are three pills in her hand. Because all the pills look identical, she cannot tell which two pills are type B and which is type A. Since the pills are extremely expensive, the patient does not wish to throw away the ones in her hand. How can she save the pills in her hand and still maintain a proper daily dosage? |
Take another pill from bottle A to make two pills of each type of medication. Now cut each pill in half, and keep the halves separate. For the first night, take half of one pill from each pile and you will be guaranteed exactly one A and one B pill. The patient can take the other halves tomorrow. Is that right enough? |
| _______________________________________________________________ |
Popcorn Khao... Mast Ho Jao !!! |
|
|
|
|
|
 |
| |
Re: Microsoft/Google Interview puzzles
|
 |
|
|
 
|
Join Date : 12/22/2007 8:40:03 PM |
Inclination : The name says it all |
| |
|
|
Re: Microsoft/Google Interview puzzles
5/4/2008 11:18:00 AM
|
|
Today's Puzzle Your job is bowling ball tester. You have two identical bowling balls. Given a 100-story building, your challenge is to figure out from which floor a dropped bowling ball will shatter on the ground. You know nothing about the durability of the bowling balls; they may be very fragile and shatter when dropped from the first floor, or they may be so tough that they shatter from a drop from the onehundredth floor only. This is a bowling ball stress test. What is the most efficient way to determine the floor from which a dropped bowling ball will shatter? In other words, what is the minimum number of bowling ball drops you need to guarantee you can identify the floor from which they will surely shatter? You are allowed to destroy both bowling balls in the tests, provided that in doing so you uniquely identify the correct floor.
A difficult one...lets see who solves that
|
| _______________________________________________________________ |
|
|
|
|
|
|
 |
| |
Re: Microsoft/Google Interview puzzles
|
 |
|
|
 
|
Join Date : 12/22/2007 8:40:03 PM |
Inclination : The name says it all |
| |
|
|
Re: Microsoft/Google Interview puzzles
4/28/2008 3:02:22 PM
|
|
One more for the Day....
A patient has fallen very ill and has been advised to take exactly one pill of medicine A and exactly one pill of medicine B each day. The two pills, which are indistinguishable, must be taken together. If they are not, the patient will die. The patient has bottles of A pills and B pills. She puts one of the A pills in her hand. Then while tilting the bottle of B pills, two B pills accidentally fall out. Now there are three pills in her hand. Because all the pills look identical, she cannot tell which two pills are type B and which is type A. Since the pills are extremely expensive, the patient does not wish to throw away the ones in her hand. How can she save the pills in her hand and still maintain a proper daily dosage? |
| _______________________________________________________________ |
|
|
|
|
|
|
 |
|
| Forum Jump |
|
|
|
|
|
Similar Threads
|
 |
|
| Thread / Thread Starter | Last Post | Replies | Views |
|
|
|
1
|
686
|
|
|
|
4
|
763
|
|
|
|
1
|
708
|
|
|
|
11
|
1364
|
|
|
11/2/2008 6:58:10 PM

By
kk
|
41
|
4283
|
|
|
 |
|
|
|
|
|
|