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.
This answer is awesome.
This comment is hidden because it contains spoiler information about the solution
...I don't think it's good practice to modify the parameters you were given without being told to, especially if the original function signature marks the array with
const
.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks.
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
Not to mention that it can't handle consecutive dashes or underscores.
"big__gap" becomes "big_gap" instead of "bigGap"
I'm surprised the official tests didn't include these cases.