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.
No, this is not a proper way to do it. One could use a loop, it depends on what there is in it. And making it a kata requirement would require to enforce to forbid the use of loops, which can hardly be done in some language, and would not make sense. If one's code times out, he needs to find a better way to solve the kata, there's already Expect large Inputs!, that's enough.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
COBOL translation + unified description (author is inactive).
Make a research online with this error.
FATAL ERROR: invalid array length Allocation failed - JavaScript heap out of memory.
How can I fix it
Very easy
Because it's not available in the current CW's Node version.
Why str.replaceAll('.', '-') not working
Wht?
Marked as resolved, since this is not a suggestion for the kata at all.
This comment is hidden because it contains spoiler information about the solution