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.
同感
slow...
O(N*log N)!
THIS IS ABSOLUTELY NOT A BEST PRACTICE!
Clever? Maybe, but not best practice!
thank you!
The vector is passed by value. It is a copy so it won't affect the original one
I'm not sure if we should be changing the array itself. Seems like a bad idea even though it saves typing time.
This comment is hidden because it contains spoiler information about the solution
Please use spoiler flag next time.
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
You really want sort over 99999 elements only for find minimum?
@Dentzil: I even disagree that the readability is higher. Surely it's easier to write, but a reader might waste time wondering about other reasons for the sort.