Sixteen bottles of wine riddle
chriskw.xyz
Sixteen bottles of wine riddle
1–10 of 36 posts
Re: Sixteen bottles of wine riddle
#2Lol
Re: Sixteen bottles of wine riddle
#3Without looking at the answer I came up with a geometric interpretation of it (explained below as this is a spoiler to the Poison and Rat puzzle).
Re: Sixteen bottles of wine riddle
#4I wasn't familiar with 'Poison and Rat' puzzle that the post mentions as an inspiration of the title riddle. Without looking at the answer I came up with a geometric interpretation of it (explained below as this is a spoiler to the Poison and Rat puzzle).
Re: Sixteen bottles of wine riddle
#5Re: Sixteen bottles of wine riddle
#6Sorry about the poor formatting of the algorithm but I'm typing on my phone and don't want to submit something AI generated
I was trying to figure out the runtime of this…it captures your best case scenario, and I think the worst as well, but what about the average?
Re: Sixteen bottles of wine riddle
#7> You briefly wonder how she managed to procure wine from over 2000 years ago before recalling that the wine cellar was built deep inside of a hypothetical scenario. Lol
Re: Sixteen bottles of wine riddle
#8 The wines are from different years
If you apply an arbitrary order to the bottles, the number of possible year-arrangements of the bottles is 16!
Each test gives you one bit of information
Since 2^50 is only greater than 16! by about 50x Re: Sixteen bottles of wine riddle
#9> You briefly wonder how she managed to procure wine from over 2000 years ago before recalling that the wine cellar was built deep inside of a hypothetical scenario. Lol