Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in --d --h --m --s-- days -- hours -- minutes -- seconds.
Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 1d 16h 07m 33s1 days 16 hours 7 minutes 33 seconds.
Guide: Quant Brainteasers: 10 Classic Interview Puzzles and the Idea Behind Each
Four people, , , and , need to cross a river at night. The only way across is an old bridge that can hold at most two people at a time. They have only one torch, and anyone on the bridge must have the torch with them, so after each crossing someone has to bring the torch back. When two people cross together, they move at the speed of the slower one. , , and take , , and minute(s) respectively to cross. What is the minimum time needed to get everyone to the other side?
Related Problems