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 think there is no overflow if you keep parameters type of the signature.
@g964 of course it is. Changing the parameters of my compare predicate to int16_t very much makes the tests fail due to overflow.
I didnt get overflow with the integer myself, I did it with C but im not a pro at this codewars thing obviously! :)
This kata is not concerned by overflow.