Skip to content

Instantly share code, notes, and snippets.

@pedrovgs
Created December 27, 2016 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 pedrovgs/32189838165fbe5c9e773ede534b97f4 to your computer and use it in GitHub Desktop.
Save pedrovgs/32189838165fbe5c9e773ede534b97f4 to your computer and use it in GitHub Desktop.
Kata: Finding the right triangle

Find every right triangle that fits all of these conditions:

  • The lengths of the three sides are all integers.
  • The length of each side is less than or equal to a 10.
  • The triangle's perimeter (the sum of the side lengths) is equal to 24.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment