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.
I had no idea, how to know the "Edges conditions" and that it was necessery check if input array is empty.
Thank You!
Your solution has a bug and does not handle some inputs correctly. If you take a look at results of failed tets you will see that it fails "Edge cases" section. What edge cases did you test in console?
Buggy solutions are not a kata issue.
This comment is hidden because it contains spoiler information about the solution