Can You Solve These Challenging Microsoft Interview Riddles?

  • Context: Undergrad 
  • Thread starter Thread starter z-component
  • Start date Start date
  • Tags Tags
    Interview
Click For Summary
SUMMARY

The forum discussion centers around three challenging riddles presented during a Microsoft job interview. The first riddle involves identifying a pattern in a sequence known as the Conway sequence. The second riddle requires calculating the minimum time for four individuals with varying crossing times to cross a bridge with specific constraints, with the optimal solution being 17 minutes. The third riddle involves timing 45 minutes using two fuses that burn at non-uniform rates, with the solution involving igniting one fuse at both ends and the other at one end. Participants engage in a detailed analysis of the riddles, showcasing their problem-solving approaches.

PREREQUISITES
  • Understanding of the Conway sequence and its properties
  • Basic problem-solving skills in combinatorial logic
  • Familiarity with time management in puzzle scenarios
  • Knowledge of non-linear burning rates in physical puzzles
NEXT STEPS
  • Research the properties and applications of the Conway sequence
  • Study optimal strategies for solving bridge crossing puzzles
  • Learn about timing mechanisms using non-linear burning fuses
  • Explore advanced combinatorial logic puzzles and their solutions
USEFUL FOR

Job candidates preparing for technical interviews, puzzle enthusiasts, and individuals interested in enhancing their logical reasoning and problem-solving skills.

  • #31
TenaliRaman said:
Err nope,
(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
[/Color]

-- AI


The problem is that "nobody can go alone".
 
Mathematics news on Phys.org
  • #32
neurocomp2003 said:
this was my solution..i'm not going to white it because its a matter of the way you interpret the question. 10min carries flashlight.5+2+1+1+1=8 = 10.

This is a good thought. When it says that they can't go alone does that mean that they have to be on the bridge the same time as someone else? If that's the case then I think that works out well.
 
  • #33
TenaliRaman said:
Really :confused:


Google for Conway sequence, its one of the well known sequence and according to one paper (which is not freely available unfortunately) this sequence has many interesting properties.[/Color]

-- AI

Problem #1 is actually pretty simple. Below is a clue:

How many '1's are in line #1?
 
  • #34
BobG said:
Tenali, you solved the problem as it should have been written. You didn't read the way it was actually written closely enough.

"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."

As written, it pretty much makes the problem unsolvable unless you either have two flashlights or get to throw the only flashlight.

Actually, with this pointed out it seems that only one person has to carry the flashlight as they (singular person) cross. So you really only need one person to carry the flashlight as they cross. The others are free to go as they please. So let 10 and 5 start out, then after 5 minutes, let 2 go, then after 2 minutes let 1 go and finish walking with 10 (unless the name of 10 is "nobody"). Total time of 10 minutes.
 
  • #35
AKG said:
1 3 1 1 2 2 2 1First 1 and 2 go across, then 1 comes back. Then 10 and 5 go across and then 2 comes back. Then 1 and 2 go across. Total time: 2 + 1 + 10 + 2 + 2 = 17.
]

"And nobody can go alone."
isn't 1 and 2 go alone when they say 'comes back'. Somehing like go back and threfore, go back alone.
 
  • #36
Site for Microsoft Interview Questions

http://www.emicrosoftinterview.com -Guide for Microsoft Interview Questions
 
Last edited by a moderator:
  • #37
45 min ... burn both ropes at same time ..rope 1 from both ends and rope 2 from 1 end
wen rope 1 is burnout 30 min has gone ...and so out rope 2 which has 30 min left and then burn that from both ends instantaneouly affter rope 1 is ouit...even if its not instantaneous you would measure approxmatley 45 min plus 5 seconds or so
 
  • #38
I am resusciting this problem in a new thread, https://www.physicsforums.com/forumdisplay.php?f=33 because it deserves more discussion. To begin, that the question with 45 mins needs two strings but the same question for 15 minutes needs only one string.


michealsmith said:
45 min ... burn
both ropes at same time ..rope 1 from both ends and rope 2 from 1 end
wen rope 1 is burnout 30 min has gone ...and so out rope 2 which has 30 min left and then burn that from both ends instantaneouly affter rope 1 is ouit...even if its not instantaneous you would measure approxmatley 45 min plus 5 seconds or so
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 27 ·
Replies
27
Views
4K
  • · Replies 35 ·
2
Replies
35
Views
8K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K