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.
lol how did this work, should return a wrong string due to the symbols
agree that's a wrong solution.
This comment is hidden because it contains spoiler information about the solution
Not sure why this was marked as 'best partices'. Regex is quite slow and shouldn't be used for such easy tasks.
Agreed!
It's a very clever solution, but could have been optimized for performance as you state.
This comment is hidden because it contains spoiler information about the solution
This doesn't work when there is punctuation. Several other solutions look like they have the same problem. How can these have passed the tests and are being presented as alternative solutions?
How can this work with special characters like ! ( it returns !ay nope ?)