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.
JavaScript transalation
PHP translation
Nitpick, in the first example:
10, 1, [5]
->len([5])
does not exceed 1 (day).looks like the description has been updated.
PHP sample tests arguments are reversed, and there are no random tests.
Currently, the arguments for the sample tests are reversed (issue with the kata), so read that the expected answer is 'HTIJBFWX', whereas your answer is the other one...
Here's what I gather:
l
has 3 occurrences; the rest of the characters, including the space, each have 2 occurrences, so they stay in their positions (tie).It would be nice if there're hanging boxes (or barriers):
There's a "bug" in your solution, try checking with input
$num = 696
and see what is wrong.Not a kata issue.
Why it should be "CoWr oeas"?
From description:
Perhaps for the language you trained on, the expected value is 'CoWr oeas'? If so, please specify the language.
This comment is hidden because it contains spoiler information about the solution
JavaScript fork for adding random tests.
The tests expect the solution to be an array of strings, as indicated by the description:
Your solution does not meet that specification for single-digit tests.
Edited the kata (since the author appears to be absent from this platform), and it should be fixed now.
PHP fork
also re-translate:
Shell
Loading more items...