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.
Hmmm. I don't understand your added code. Can you explain how my solution was wrong? Also, do you have any good resources for creating new kata, other than the codewars docs?
Yes, please. I would love to learn from your upgrades.
Thank you for the feedback. This is my first kata. I appreciate your help improving it.
This comment is hidden because it contains spoiler information about the solution
I too get this message. I cannot find a number that breaks my code. However, I am given no information for addressing this issue with the test cases.
That doesn't help me much. Could you offer more explicit information? My code accounts for both empty arrays and arrays with lengths greater than zero. I also pass all of the tests. The issue (yes, codewars refers to it as "issue") is not clearly associated with any specific test or group of tests. In other words, I'm at a loss here.
My solution to this kata passes all tests. But I am receiving one error, which begins by stating "FATAL ERROR: invalid array length Allocation failed - JavaScript heap out of memory.". Is this an error on the end of Codewars, or is there something I can do to resolve this myself? I would certainly like to add this kata to my completed kata list and collect the associated points. Thanks for any information on resolving this issue.