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.
Yes that is exactly what it does. When the argument is negative it starts counting from the end of the string.
The instructions talk about "exceeds 10" rather than "exceeds or equals 10", which reads as if 10 is a legitimate value. No test case appears to cover this.
Is the intention to have a return range of 1-9 (digital root) or 1-10?
This comment is hidden because it contains spoiler information about the solution