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.
The reason why I created this kata is to show how a built in array function is slow when you use it one large arrays. If you are using that specific native function more than once, then it doesn't matter what you do in the rest of your code, it won't pass the test. The performance test works on an array with 1 million elements. Let me know if you need anymore help.
I have already got a headache trying to pass the performance test. I wrote two algorithms but no one could pass performance test.
Can you help me and tell what is the performance test?