Skip to content

Instantly share code, notes, and snippets.

@ColinDKelley
Last active May 25, 2017 21:46
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 ColinDKelley/b936217351450310118533176f19fa62 to your computer and use it in GitHub Desktop.
Save ColinDKelley/b936217351450310118533176f19fa62 to your computer and use it in GitHub Desktop.
25 horse race answer
Race 5 horses. Take the fastest 3 and race them against 2 chosen from the remainder. Repeat until there are are no remaining.
The final 3 from the last race are the fastest of the group.
races = 1 + (25 - 5)/2 = 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment