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.
===
would disallow implicit conversion, so i'd imagine that wouldn't be any slower than==
implicitly converting things.Thinking about the performance of such an operator is surely premature optimization though.
This comment is hidden because it contains spoiler information about the solution
wow, the fact that JS doesn't enforce how many args are passed to functions with an error is mildly horrifying to me.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
any use of filter could generally be made better by passing a third parameter to filter and using that for comparison, which would compare to the new copy rather than comparing to the parameter of function.
Why is this rated so highly? This solution modifies input to then return a result, which is awful.
Use ordered dict to reduce time complexity
This comment is hidden because it contains spoiler information about the solution