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.
It is intentionally. I, personally, like to solve problems where some of the difficulties appear through test cases.
I've gotten feedback both ways with this one, so I think I'll leave it more or less as it is.
Is there anything in particular you think is missing?
How is it O(n²)? Depending on the memory allocation algorithm it might be (but I think it's very unlikely) but it's implementation-defined.
this is a clerver solution but not a besetpractices solution
This comment is hidden because it contains spoiler information about the solution
The "Details" description of this Kata is too brief
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter