Ad
  • Default User Avatar

    the tests suite should use approximate equality in:

    • Haskell
    • PHP
    • Python
    • Ruby
    • Scala

    other languages are OK

  • Default User Avatar

    in JavaScript: test doesn't check if is formatted to two decimal places, despite it stating the requirement in the description.

  • Default User Avatar

    I can definitely sympathize with those that are frustrated with this kata. And there are no examples on the initial page. If I didnt have a fairly strong math background (math was a hobby of mine at one time) Im sure I would be in the same boat. In order to look things up, you need to know how to pose/phrase the question. Without that background knowledge your googled question is like a shot in the dark - youll be lucky to get what youre looking for. On the other hand, many katas are based on inside knowledge, and giving out this inside knowledge can turn a 6 kyu kata into an 8 kyu kata. btw can i upload an image like the one used in this kata, or do I have to give an address for it? Anyway, not a bad kata if one has some math background.

  • Default User Avatar

    Javascript.
    Simple solutions applicable to final random tests not suitable for sample tests.
    Specifically a test with arguments: "eat a burger and drink a coke", "drink a coke".

  • Custom User Avatar

    This has been done before; there's a whole "perform addition/subtraction/multiplication/division without using the operator for that" kata series available in JavaScript.

  • Custom User Avatar

    Ruby 3.0 should be enabled.

  • Custom User Avatar
  • Default User Avatar

    I'd make it clear that A is an arc, not a line. Specifically, you should say that A is a circular arc, and that its endpoints coincide with the vertices of the square. Otherwise the problem isn't well-defined.