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.
Here's a Clojure translation.
I'd really appreciate if you could review and approve it!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Please have a look at this Kotlin translation and approve it. Thanks!
I didn't change anything in the original Kotlin translation created by melli0620, I just updated the description.
Add this case, should be false:
fail.push(['n','n','n','n','w','w','n','n','s','s'])
What are valid color values? Which values can be safely used as 'guard'? That is not clear from the description.
This comment is hidden because it contains spoiler information about the solution
D translation
This comment is hidden because it contains spoiler information about the solution
(author is inactive)
Kotlin translation ready for review and approval.
Haskell translation
In the JavaScript translation, the answer for the following is expected to be
{ black: 5, white: 2 }
. Could someone explain where the second white comes from?For comparison, I've used the following, which expects
{black: 1, white: 0}
The type should be :
('n' | 's' | 'e' | 'w')[]
and not :
string[]
as the description of the test describe.
The base code should be :
This comment is hidden because it contains spoiler information about the solution
Loading more items...