Last active
August 29, 2015 14:01
-
-
Save brayden-morris-303/725ebc023a887f171b46 to your computer and use it in GitHub Desktop.
Circular Sheep Pen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
As a shepherd, you have a cirle of 100 pens that you keep sheep in. A wolf comes along and starts at pen number 0. The wolf randomly moves right or left. When the wolf encounters a sheep, he eats it. In which pen would a sheep most likely survive the longest? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment