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.
Please read this: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution
There are 400 solutions in C++ right now.
This comment is hidden because it contains spoiler information about the solution
Reading the question and example carefully helped.
Take one, get to the back of the queue and line up again for next.
I initially tried to nest too many array methods and failed the time test. Separating and keeping them simple helped.
Challenges with time/performance are good way to practice thinking about alternatives.
This comment is hidden because it contains spoiler information about the solution
Smart! One good Regex, a string.prototype.replace and a callback, done! Love seeing these better approaches.
This comment is hidden because it contains spoiler information about the solution
Good stuff destructuring the currentValue!
Good tip
This comment is hidden because it contains spoiler information about the solution