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 09m 17s1 days 16 hours 9 minutes 17 seconds.
Guide: Quant Brainteasers: 10 Classic Interview Puzzles and the Idea Behind Each
prisoners are lined up and assigned a random hat These hats are available in different unique and distinguishable colors. Each prisoner can see the hats in front of him but not behind. Starting with the prisoner in the back of the line and moving forward, they must each, in turn, say only one word which must be the color like "red" or "blue" or "green" etc. If the word matches their hat color they are released, if not, they are killed on the spot. They can hear each others answers, no matter how far they are on the line. You are the one who will help them come up with a strategy to save themselves. What is the max number of prisoners that you can certainly save ?
Related Problems