How Can Four Women Cross a Bridge in 17 Minutes?

  • Thread starter Thread starter Inkcoder
  • Start date Start date
  • Tags Tags
    Brain Interview
AI Thread Summary
The Microsoft interview question involves getting four women across a bridge in 17 minutes using a flashlight, with varying crossing times. The optimal strategy is for Woman 1 and Woman 2 to cross first, followed by Woman 1 returning with the flashlight. Then, Women 3 and 4 cross together, and Woman 2 returns with the flashlight. Finally, Women 1 and 2 cross again, totaling exactly 17 minutes. This problem highlights the importance of strategic planning and time management in problem-solving scenarios.
Inkcoder
Messages
10
Reaction score
0
A question that was asked in a Microsoft Interview:

There are 4 women who want to cross a bridge. They all begin on the same side. You have 17 minutes to get all of them across to the other side. It is night. There is one flashlight. A maximum of two people can cross at one time. Any party who crosses, either 1 or 2 people, must have the flashlight with them. The flashlight must be walked back and forth, it cannot be thrown, etc. Each woman walks at a different speed. A pair must walk together at the rate of the slower woman's pace.

Woman 1: 1 minute to cross
Woman 2: 2 minutes to cross
Woman 3: 5 minutes to cross
Woman 4: 10 minutes to cross

For example if Woman 1 and Woman 4 walk across first, 10 minutes have elapsed when they get to the other side of the bridge. If Woman 4 then returns with the flashlight, a total of 20 minutes have passed and you have failed the mission. What is the order required to get all women across in 17 minutes?

I'm still working it, and Google most likely holds the answer but try to figure it out on your own.
-Austin
 
Physics news on Phys.org
Not too bad.

Solution.
1,2 go across. 1 comes back. 5,10 go across. 2 comes back. 1,2 go across. (2 + 1 + 10 + 2 + 2 = 17)[/color]
 
This problem took me a while but once you figure it out, you'll kick yourself in the butt. Naturally, you think 19 minutes is the time you need for them to all go across but it's actually only 16.

What I thought was that if 10 and 5 go separate, it's 15 minutes which is obviously too much. So knowing this, you know that 5 and 10 must go together. How to do this is:

1,2 go across.
1 goes back.
3,4 go across.
2 goes back.
1 goes across.

This comes out to 2+1+10+2+1 = 16 minutes.[/color]
 
Last edited:
Tone.Tran said:
This problem took me a while but once you figure it out, you'll kick yourself in the butt. Naturally, you think 19 minutes is the time you need for them to all go across but it's actually only 16.

What I thought was that if 10 and 5 go separate, it's 15 minutes which is obviously too much. So knowing this, you know that 5 and 10 must go together. How to do this is:

1,2 go across.
1 goes back.
3,4 go across.
2 goes back.
1 goes across.

This comes out to 2+1+10+2+1 = 16 minutes.[/color]

But 2 has to go with 1 back across, so their trip takes 2 minutes, hence the total time is 17.
 
Woops, my mistake there. 17 is correct.
 
Similar to the 2024 thread, here I start the 2025 thread. As always it is getting increasingly difficult to predict, so I will make a list based on other article predictions. You can also leave your prediction here. Here are the predictions of 2024 that did not make it: Peter Shor, David Deutsch and all the rest of the quantum computing community (various sources) Pablo Jarrillo Herrero, Allan McDonald and Rafi Bistritzer for magic angle in twisted graphene (various sources) Christoph...
Thread 'My experience as a hostage'
I believe it was the summer of 2001 that I made a trip to Peru for my work. I was a private contractor doing automation engineering and programming for various companies, including Frito Lay. Frito had purchased a snack food plant near Lima, Peru, and sent me down to oversee the upgrades to the systems and the startup. Peru was still suffering the ills of a recent civil war and I knew it was dicey, but the money was too good to pass up. It was a long trip to Lima; about 14 hours of airtime...
Back
Top