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.
Side note: is that a friend of yours or your alter account? upvoting each other's kata...? upvoting each others solutions... while clearly none of you know what you're doing (for instance, the current upvoted solution is just awful about the performances, on long inputs)
Oh, btw, arrays of length 1000 aren't "large". Try with millions of elements, and you'll see wookie's solution will choke to death.