Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I have several questions regarding this kata:
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?
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!
Encript => Encrypt; Decript => Decrypt
I don't know whether it was intentional but the "encript" and "decript" function names are not spelled correctly.
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.
The issue has been resolved. I enjoyed your Kata.
For the Coffeescript version of this Kata, I am receiving a "ReferenceError: flattenArray is not defined" error for approximately 10% of the Random Tests.
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 "]).
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.
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".
Javascript test cases are broken.
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."
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.
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.
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.
Coffeescript "Sample Tests" are written for a different Kata, "bangMinusN".
Loading more items...