Final answer:
To solve the bridge-crossing puzzle, the optimal strategy involves a sequence of crossings resulting in a total minimum time of 17 minutes, with specific steps to ensure the flashlight is managed efficiently.
Step-by-step explanation:
The logic puzzle presented involves four friends needing to cross a bridge at night with varying speeds and only one flashlight. To solve this problem, we need to find the strategy that results in the minimum time required for all friends to cross.
Let's consider the following step-by-step strategy:
- Friend 1 and Friend 2 cross with the flashlight. Time taken: 2 minutes.
- Friend 1 returns with the flashlight. Time taken: 1 minute (Total: 3 minutes).
- Friend 3 and Friend 4 cross with the flashlight. Time taken: 10 minutes (Total: 13 minutes).
- Friend 2 returns with the flashlight. Time taken: 2 minutes (Total: 15 minutes).
- Finally, Friend 1 and Friend 2 cross again. Time taken: 2 minutes (Total: 17 minutes).
The total time taken for all the friends to cross the bridge is 17 minutes, which is the required when applying this strategy. This solution applies search algorithms to explore possible sequences of crossing, assessing the costs of each, and selecting the option with the lowest total time.