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.
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".
Thanks for the response but I am still experiencing the same problem with your "Random climbers" tests. Here are a few examples of how the leaderboardSort function is being called in your "Random climbers" tests:
leaderboardSort(["QLFc","dpGz","JHcw","JmiG","iWwH","nYYs"], ["JHcw -2","undefined +0","JHcw +5","iWwH +0","JmiG -1","QLFc -2"])
leaderboardSort(["utyVaw","myulen","bUlWIS","KOokh","huBhEP","YMXyLy","TUKhWq","KFIFVC","QoYxLO","MBZZEp","jZawUO","iXCiKI","GuGfWg","FjCOjp","bWgFTr","bLiYTm"], ["YMXyLy -8","FjCOjp +4","myulen +0","KOokh -2","jZawUO +1","utyVaw -12","utyVaw +13","undefined -16","huBhEP -13","bUlWIS +2","YMXyLy +11","bLiYTm -12","utyVaw +13","FjCOjp -2","bLiYTm -3","bLiYTm +2"])
leaderboardSort(["i","R","m","J","V","p","G","F","","Y","B"], [" +3","R -2","undefined -4","J +2","Y +10"," +6","B -9","R +0","R +5","V +6","R +3"])
Your description should specify how to handle students that post less than 8 semesters worth of GPAs.
Your description should specify how to handle situations where the two students post a different number of GPAs.
There appears to be a problem with the CoffeeScript translation. Many of the random tests have "undefined" names passed into the "changes" list argument. Here is an example of how the leaderboardSort function was called with one of the random tests:
leaderboardSort(["E","R","P","s","N","e"], ["undefined -1","undefined -1","N +2","E -4","E +1","N -3"])
The description of your kata is the best that I've seen on CodeWars. Awesome job!!!!!!!!!!!!!
Loading more items...