The Poisoned Wine-Brain teaser
Riddle
You have 1,000 bottles of wine, one of which is poisoned. You have 10 prisoners, and the poison will kill someone exactly 24 hours after they consume it. You need to find the poisoned bottle within 24 hours. How do you do it?
Label the bottles from 1 to 1,000 and convert each number to binary. Assign each bit to a prisoner (10 bits total). Have each prisoner drink from the bottles where their corresponding bit is a 1. After 24 hours, the prisoners who die reveal which bits are 1 in the binary number of the poisoned bottle.