This is one of the category of river crossing puzzles. There are various name for this problem like Bridge and Torch problem , Dangerous crossing etc....
PUZZLE
Four people come to a river in the night. There is a narrow bridge, but it can only hold two people at a time. They have one torch and, because it's night, the torch has to be used when crossing the bridge. Each person walks at different speed. Assume 4 persons are A,B,.C,D.
Person A can cross the bridge in 1 minute,
B in 2 minutes,
C in 5 minutes,
and D in 8 minutes.
When two people cross the bridge together, they must move at the slower person's pace.
The question is, What is the minimum time to cross the bridge?
ANSWER
Minimum time to cross the bridge is 15 Minutes.
SOLUTION
This problem can be extended for more than 4 people with different crossing times.
So to solve this kind of problems we need to keep some points in mind
Always slowest persons should cross together . and same goes for fastest persons
Before slowest persons cross the river make sure there are some fast people on other side to return torch so Fastest persons should cross in first to return torch.
While returning the torch to other side always try to use the fastest person
No comments:
Post a Comment