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.
did it without regex. brave warrior
whelp, that's pretty much the human condition, when you think about it
I'm disgusted but in awe. 👏👏👏👏
In the case foo9, it removes the 9 and does recursion with "foo".
So the recursion returns "foo1", then the zero is added to the recursion result.
So if it's foo99, it does recursion with foo9 and adds the zero to that.
Then the recursion would return what I mentioned in my first paragraph, plus a zero so it's foo100.
Really impressed by your solution :)
clever!!
bravo (:
When you hate regexp :D
what is the solution
smart solution