| Thread Closed |
Microsoft interview questions |
Share Thread | Thread Tools |
| Jul12-05, 08:35 PM | #1 |
|
|
Microsoft interview questions
These three riddles appeared during a certain Microsoft job interview.
The interviewer would watch how the interviewee responds to these riddles. Even if they didn't get the answer, the interviewer wants to see how they think as they explain the steps they're making to TRY to solve it. Some might be too easy to solve directly! See if you can solve these. Riddle #1: 1 1 1 2 1 1 2 1 1 1 1 1 2 2 1 3 1 2 2 1 1 What's the pattern? Riddle #2: You have four people at a bridge... one HAS to carry a flashlight as they cross, but only two can cross at a time. And nobody can go alone. It only takes one 1 minute to cross. Another takes 2 minutes. Another, 5. And the last, 10. If the person who takes 1 minute goes with the person who takes 10... it automatically takes 10 minutes. How many minutes will it take them all to cross.. at the quickest? Riddle #3: You have two fuses... they burn at different rates and not at steady rates. BUT! They only burn for one hour. One could burn the entire way except one inch within one minute, then spend the last 59 on that last inch, for example. You also have to use this to somehow time 45 minutes exactly. How would you do it? |
| PhysOrg.com |
science news on PhysOrg.com >> Hong Kong launches first electric taxis >> Morocco to harness the wind in energy hunt >> Galaxy's Ring of Fire |
| Jul12-05, 09:06 PM | #2 |
|
|
1
1 3 1 1 2 2 2 1 2 18 3 Ignite string A on both ends, string b on one end. When string A burns out, ignite string B on both ends. |
| Jul13-05, 02:46 AM | #3 |
|
|
2.
17 -- AI |
| Jul13-05, 08:43 AM | #4 |
|
|
Microsoft interview questions
Where are you getting your answer of 17 or 18 for question 2??
This is my answer and reason... 19 Min 1&10 cross 1 comes back 11min, 5&1 cross 1 comes back 6 min, 2&1 2 min = 19 min How can it be done faster? |
| Jul13-05, 10:45 AM | #5 |
|
|
how does one get the pattern for 1?
|
| Jul13-05, 11:23 AM | #6 |
|
|
|
| Jul13-05, 11:48 AM | #7 |
|
|
![]() Sorry if i am cryptic, but this was supposed to be a brain teaser ![]() -- AI |
| Jul13-05, 12:00 PM | #8 |
|
|
|
| Jul13-05, 12:09 PM | #9 |
|
|
Only two can cross at a time I believe this means, "at the max only two people can cross at one time" and not "exactly two people should cross the bridge at any instant". -- AI |
| Jul13-05, 02:43 PM | #10 |
|
|
very clever tenai...but then by your logic..it would only take 10 mins.
i guess it all depends on your take of "noone can go alone" oh and could you plz tell me or hint to solve 1... |
| Jul13-05, 02:54 PM | #11 |
|
|
-- AI |
| Jul13-05, 03:57 PM | #12 |
|
|
Tenali, are you saying this?
The 1 minute person has the flashlight. 1 min + 10 min cross, then 1 min + 5 min cross, then 1 min + 2min cross. = 17 mins. Now when I say 1 min + 5 min cross, I mean that 1 min is coming back to the start while 5 min is going to the end. Probably easier to see in this image: http://img11.imageshack.us/img11/28/msquestion3oa.gif |
| Jul13-05, 05:53 PM | #13 |
|
|
There is no trick to breaking the rules- two people max, both same way, one flashlight. The trick is to illiminate the bad affects of the 10 and 5 person- think of the farmer, the fox, the chicken, and the egg riddle if you know it...
3) light one rope at both ends |
| Jul14-05, 12:35 AM | #14 |
|
|
(warning : spoiler) Assume a,b,c,d are on the left side. Objective -> a,b,c,d to go to right side in minimum time Constraints -> Just one flashligh, flashlight necessary to cross and bridge can balance at the max 2 people a(1 min,flashlight),b(2 min) go right --> 2 mins a(1 min,flashlight) goes left --> 1 mins c(5 min,flashlight),d(10 min) go right -> 10 mins b(2 min,flashlight) goes left --> 2 mins a(1 min,flashlight),b(2 min) go right --> 2 mins Total -> 2+1+10+2+2 = 17 mins -- AI |
| Jul14-05, 02:17 AM | #15 |
|
|
this was my solution..i'm not gonna white it cuz its a matter of the way you interpret the question. 10min carries flashlight.5+2+1+1+1=8 = 10.
|
| Jul14-05, 09:00 AM | #16 |
|
|
The 3rd line implied to me that the faster person must walk slow to actually stay with the slower person, i.e. hand in hand. Knowing other puzzles on this board maybe one of the crossers is named Nobody! ) |
| Jul15-05, 07:32 AM | #17 |
|
|
-- AI |
| Thread Closed |
| Thread Tools | |
Similar Threads for: Microsoft interview questions
|
||||
| Thread | Forum | Replies | ||
| Microsoft Interview Brain Ache | Brain Teasers | 4 | ||
| Typical Powering Engineering Interview Questions | Electrical Engineering | 0 | ||
| Inspired questions from a Kaku interview. | Beyond the Standard Model | 3 | ||
| Microsoft interview questions | General Physics | 22 | ||