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.
Switches 1A and 2B 4 times. And the answer should be:
[ '1B', '2A' ]
BUT in "observations" there is['1B', 3]
. That is, a person appeared in the window(with a light). He shouldn't be in the answer. The answer should be:[ '2A' ]
.Did I misunderstand something? Or is there a problem with my solution?
The issue has been resolved. I enjoyed your Kata.
how about now?
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 "]).
Has anybody tested the performance of this ? it feels to me like recursivity would be less efficient than a regular loop here
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.
This was probably one of the simplest ways to do it without digging into regex. nice job.
For JS, the max value is excluded, so you should change
<= ${max}
into< ${max}
:added it tnx
like with the other kata, a svg or similar picture might be useful here
fixed
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".
you can republish the kata now
fixed, thank you
Loading more items...