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.
Because the problem asked for it. We are to define methods on Object that already exist as Array methods. You can do it longhand or via this concise shortcut. End result is the same.
Ran the maths, checks out you're valid. Nice one.
Please, do the math / consider the logic.
Please, take a look at the problem description.
it does not actually have to include your points
it does not actually have to include your points
It doesn't include your points
I liked that :)
You forgot to count your points, I'm surprised this passed
This comment is hidden because it contains spoiler information about the solution
Man, I need to start remebering that min and max exist.
What on Earth
Nice one.
...why...?
can't be changed
The description specifically states that the string will consist only of letters a-z. So in practive your solution would be best, but in the context of this kata, the OP's is fine.
Loading more items...