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.
linear scan is better
Why is this voted as best practice, when this is slower than a linear scan?
imagine using sort when you can just do a linear scan
what if numbers is empty?
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
The
operator
module has functions for all of the basic operations, I just used that instead of writing my own.could you explain this? looks a lot more interesting than what i did.