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 25m 23s13 days 22 hours 25 minutes 23 seconds.
Guide: Quant Brainteasers: 10 Classic Interview Puzzles and the Idea Behind Each
There's a king in a faraway kingdom. Someone breaks into his wine cellar, where he stores bottles of wine, and poisons one of the bottles, but gets away too quickly for the king's guards to see which bottle he poisoned or to catch him. The king needs the remaining safe bottles for his party in weeks. The king has prisoners who deserve execution, and he can make each of them drink from as many bottles as he likes. The poison takes at most weeks to take effect, and any amount of it will kill whoever drinks it. Can he figure out which bottle was poisoned in time for the party?
Related Problems