LibraryQuant brainteasers
Four people need to cross a bridge at night. They have one torch, and the bridge cannot be crossed without it. At most two people can be on the bridge at once. When two people cross together, they move at the slower person's pace. Someone has to carry the torch back across for anyone still on the starting side to cross later.
The four people take 1, 2, 5, and 10 minutes respectively to cross alone. Find the minimum total time for all four to reach the far side, and show that nothing faster is possible.
Write out the obvious plan, with the fastest person carrying the torch every time, and add up where its minutes go. Then look for minutes that did not need to be spent.
You have the question and a hint. It gives the fastest schedule of crossings and proves that no other schedule gets everyone across sooner.