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.
Translate Dart
check the translation of the kata
This comment is hidden because it contains spoiler information about the solution
Random tests are very weak. They do not catch incorrect solutions (the reference solution is also wrong, see the issue below).
Some examples (Python) of incorrect solutions which should be invalidated with proper tests:
https://www.codewars.com/kata/reviews/66cef0a057be5b69ac06193c/groups/66d091a3bf5043bfb0768345
https://www.codewars.com/kata/reviews/66cef0a057be5b69ac06193c/groups/66cef836e388a9647683d493
Not particularly a critical issue, but adding assertion messages to C++ would not hurt.
Invalid C solutions that don't take into account stretching of the rubber band incorrectly pass all tests.