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.
Thanks
Third example is wrong in description. Negative numbers are not included in resultant array.
No Random Tests
Also, the description is wrong:
[-5, -6, 9, 5, 0]
expects[-5, -6, 9, 25, 0] = 23
, not34
.The kata doesn't satisfy basic requirements; no sample tests, no random tests, actual tests is equal to the description. And the task is definitely not novel (it's just a mixture of 3 elementary existing katas).
Please review the kata authoring guidelines before creating a kata.