Placement AptitudeVery hardTCS Digital · Infosys SP · Cognizant GenC

Five hikers take 1, 3, 4, 8 and 12 minutes to cross a narrow bridge. They have one torch, at most two can cross together, a pair moves at the slower person's pace, and the torch must be walked back each time. What is the minimum total time for all five to cross?

  1. A. 32 minutes
  2. B. 30 minutes
  3. C. 28 minutes
  4. D. 27 minutes

Correct answer: D. 27 minutes

Let the 1-minute hiker shuttle everyone and it costs 3 + 1 + 4 + 1 + 8 + 1 + 12 = 30. Better: send the two slowest together. (1,3) cross, 1 returns, (8,12) cross, 3 returns costs 3 + 1 + 12 + 3 = 19; the remaining 1, 3, 4 need 3 + 1 + 4 = 8. Total 27 (confirmed by exhaustive search).

More Logical Reasoning for Placements questions

Exams that ask this topic