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.
If n or m are 0 you will return -1. Why test didn't check that?
If n<0 and m<0 your code will not see an error, but I understand, that there won't be negative input.