Ad
  • Custom User Avatar

    I have several questions regarding this kata:

    1. You state that our task is "to find every integer point that lies on a circle's line". I assume that by "circle line" you mean that we need to find every point on the circumference of the circle where the value of "x" and "y" are both integers. Can you please confirm that my understanding is correct?

    2. In your solution window you provide:

      def draw_circle(x, y, r, ind)
      return []

      You provide us with the value of "x" and "y", a single point on the circumference of the circle. If my interpretation of your instructions (see #1 above) is correct, how can we solve this kata without knowing where the center of the circle is located (i.e., "h" and "k")?

    Thanks in advance for the clarification!

  • Custom User Avatar

    Encript => Encrypt; Decript => Decrypt

  • Custom User Avatar

    I don't know whether it was intentional but the "encript" and "decript" function names are not spelled correctly.

  • Custom User Avatar

    Also note that the test cases work, when run separately by hitting the "TEST" button. When I define "alphabet = []" and hit the "ATTEMPT" button, the encript and chained fixed tests fail and the decript random tests also fail. In all cases however, your kata is reporting that the decript tests are successful.

  • Custom User Avatar

    The issue has been resolved. I enjoyed your Kata.

  • Custom User Avatar

    For the Coffeescript version of this Kata, I am receiving a "ReferenceError: flattenArray is not defined" error for approximately 10% of the Random Tests.

  • Custom User Avatar

    The Coffeescript version is definitely broken. It appears that when the "Random Test Cases" are performed, the preloaded "words" array only contains one word ([ "ZONES "]).

  • Custom User Avatar

    There appears to be a problem with the Coffeescript version of this kata with respect to the Random Tests. I receive the following error message "RangeError: Maximum call stack size exceeded" when the Random Tests are performed. If I copy the first random test arguments and make a new Fixed test using those exact same arguments, the error message is not generated.

  • Custom User Avatar

    The default function name that is loaded into the Solution window is "find_polyhedron_properties". The default tests however are looking for a function named "prism_properties".

  • Custom User Avatar

    Javascript test cases are broken.

  • Custom User Avatar

    In your kata's description you state:

    "Remember, a number from 1 to 12 could be interpretted as a month and a day of the month. So "1 2 2000" could be the first day of January 2000 and the second day of February 2000."

    If I understand your intent however, it should read:

    "Remember, a number from 1 to 12 could be interpretted as a month and a day of the month. So "1 2 2000" could be the first day of February 2000 and the second day of January 2000."

  • Custom User Avatar

    I think there is a problem with your description. You give the following example:

    list_1:[count(1)=minimum(floor(1/10*n),1]
    list_2:[count(1)=minimum(floor(length(list_1)/2)),1]
    list_x:[count(1)=minimum(floor(length(list_1)/2)),1]
    list_last:[count(1)=remaining 1s]

    I believe that you want to take the maximum, not the minimum.

  • Custom User Avatar

    The javascript version of the "Mountain of Gold: Arrangement Problem" appears to be broken. The Test for this kata displays the "twoOldestAges" kata, a completely different kata.

  • Custom User Avatar

    If the 3-digit n starts and ends with the exact same digit, shouldn't the answer be 0? For example, lets say we are given n = 323. We flip 323 and get 323. We subtract 323 from 323 and get 0. We then flip 000 after padding 0 with 0's and get 000. 0 + 0 = 0. Thanks in advance for the clarification.

  • Custom User Avatar

    Coffeescript "Sample Tests" are written for a different Kata, "bangMinusN".

  • Loading more items...