Answered step by step
Verified Expert Solution
Question
1 Approved Answer
4 people wish to cross a bridge at night. A group of at most two people may cross at any time, and each group must
4 people wish to cross a bridge at night. A group of at most two people may cross at any time, and each group must have a flashlight. Only one flashlight is available among the 4 people, so some sort of shuttle arrangement must be made in order to return the flashlight so that more people may cross. Each person has a different crossing speed; the speed of a group is determined by the speed of the slower member (or either if they are of the same speed.) Your job is to determine a strategy that gets all 4 people across the bridge in the minimum time. Provide the total number of seconds it takes to get everyone across, as well as the groups that cross, in order. (There may be multiple optimal solutions, in that case, any of them are fine.) The speed of a person is given in the number of seconds it would take him to cross. (If he is the slower member of the group.) Speeds: 1: 1 2: 2 3: 5 4: 10
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started