Skip to content

Instantly share code, notes, and snippets.

@jonbrennecke
Created August 19, 2015 16:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonbrennecke/f6120b111640a0a73358 to your computer and use it in GitHub Desktop.
Save jonbrennecke/f6120b111640a0a73358 to your computer and use it in GitHub Desktop.

A king is throwing a party in 24 hours and has 1000 bottles of wine. But alas, 10 enemy bandits break into his wine cellar! The king's guards catch the spies, but only after they have poisoned 1 bottle of wine. No one knows which bottle of wine was poisoned, and the poison is such that any amount of poison will kill whoever drinks it in exactly 24 hours. The king has a plan! He will use the 10 bandits (who were going to be executed anyways) to find exactly which bottle of wine was poisoned.

What is the kings plan?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment