Ad
  • Custom User Avatar

    HINT: To solve this, research how triangles can be built with 3 sides.

    Before people say this is some kind of spoiler: I just recycled the descriptions content to help understand. The focus of katas shouldn't be math but coding. Without knowing the math, coding won't get you anywhere here.

    With that: Please explain the math. Otherwise, people like me, who haven't learnt stuff like this in school yet, have to look it up online and find the missing information to continue.

  • Custom User Avatar

    Give this man a medal!

  • Custom User Avatar

    After looking at the other solutions, I feel super dumb...

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    The concept of this kata is quite intriguing, but the coding required for this kata is beyond my knowledge. Could somebody give me a hint on how to solve the "good/bad government" and "secret plan" problem? I'd also accept an explanation if it doesn't actually state, what I have to do. Thank you for wasting your time reading this comment, which benefits you in no way. 😁