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.
OK if there is no possibility of randomness. Approved and thanks!:)
I used the same tests as the C++ version. I can do them in a different -- but static -- order, since psuedorandomly generated tests aren't possible right now because of the way the rust runner is implemented on codewars (see https://github.com/Codewars/codewars-runner-cli/issues/240).
Good but could you randomize a bit your three parts of tests?
This comment is hidden because it contains spoiler information about the solution
You are right, there is a typo in the answer but for the time being I'm not able to re-publish.
I only get:
I'll tell you as soon I'm able to re-publish.
Thanks for your post!!!
Edit: able to fix it now.
This comment is hidden because it contains spoiler information about the solution