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.
Nice Kata, if you go with Java then nice warm up for java Stream api...
Approved by Johan
you are mutating the input array, this is why the assertion messages are confusing. i patched the tests so that the message is computed before the function call. your code is incorrect though, you need to fix it. also note that mutating your input when you are not asked to is bad practice, and in this kata in particular it cannot work as sometimes you will need to add an element.
This comment is hidden because it contains spoiler information about the solution
Haskell translation
Approved the fork.
judging by the recurring comments the wording seems to be causing a lot of confusion though. here is a fork that tries to improve it
There is no problem in the description, your code needs to validate the input.
This comment is hidden because it contains spoiler information about the solution
fixed
Merged
C fork (author gone)
approved
UPDATED JAVA TRANSLATION
Changes are in the Disourse of the Kumite
Loading more items...