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 was trying to use recursion but could not. Could anyone explain what is the
return persistence(mult) + 1 is doing here?
This comment is hidden because it contains spoiler information about the solution
It's because the Test cases provided are ridicously small.
With suffiently large string as argument this function will choke.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It works faster than other solutions marked as "Best Practices".