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.
It's OK. Approved.
Changed function signature: it now produces usize
Changed the "look" of the code (no changes in logic besides the function signature)
Didn't touch the logic of tests --> no idea if the tests match other languages or are sensible
No problem. Just fork your translation and make corrections.
Thank you for this feedback.
It should be fixed.
btw it is my first translation
Confirm that the test cases are being tested. It doesn't seems so.
you may want to specify the data type of ans