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.
agree with you!
niu bi
"I can't pass the tests" is not an issue.
Thank you for the feedback. It made me smile.
I'm 32 now and have been coding since I was 15 or 16.
Your code is not performant enough with long array input. I'm closing this one, find a way to not create a big array like you're doing.
When a kata is first published in a given language, the author has to provide a solution in that language and it has to pass all of the tests that you're currently trying to pass. Additionally, 1517 people have successfully completed this kata in JavaScript since it was published. I don't know what proof you could get that would be better than that :)
Doubtable, over 1k ppl have done this and they all had no problems. doubt they were all wrong and you alone are right.
It's most definitely a problem with your code