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.
I am happy that I solved it by my own. Even though solution is longer than other. (I used js)
:( my solution always long :(______
no matter how hard you try there is always one line solution there :D
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
You code not working is not a kata issue, see the initial code:
You have to write a new method of String.prototype, you've written an isolated function.
This comment is hidden because it contains spoiler information about the solution
good solution, O(n).
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution