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 had the a similar problem. For me if I did not have a condition for numbers less than 1 it gave a sigsev error since I had not considered it. However it is not a big problem if we were given something to return when the number given is out of range. It currently seems to be that if you have a number less than 1 you should return 1 which makes no sense, it would be better to return -1 or simlar.