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 13d 22h 49m 04s13 days 22 hours 49 minutes 4 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