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.
Yes, it most definitely should!
Because a group of people all had this exact same solution and they probably upvoted it themselves.
Added.
And no, you're right to not assume it, because the default
.sort
method modify the original array.Performance on a simple calc like this honestly wouldn't make any difference
me too
Ranks can't be changed
Consider it a feature of Codewars:
Offer what you can to improve what it already here; for what is already here offers so much to us already because of what others have already offered to us.
You can suggest a new one.
You were returning a boolean instead. Not a kata issue.
Could you pinpoint what should be corrected? Already changed
give
forgiven
Seems reasonable. It's reusable, and well named.