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.
Note that indexing starts from
0
. OP solved it though, closing.OP solved the kata
@DeCaTou: you can print the input to console to see which test is failing. In your case it is
n = 500000000000
."My solution does not work" is not a valid kata issue. If you want to raise an issue, you have to tell what is wrong with the kata.
Your code doesn't seem case-insensitive. Read the post below yours.