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.
Approved
Approved
This comment is hidden because it contains spoiler information about the solution
linear scan is better
I'd give u a downvote bc of this comment, go back to stackoverflow.
There should be a downvote button in this place, so that people would know what not to do.
Please review and approve Dart traslation.
The Dart translation has been published. Please review and approve.
Thank you for reviewing that.
There is no point in forking a translation just to update the original solution (which would end up published in the original author's name anyway). Especially when there are other things that actually need fixing, e.g. missing assertion messages.
Rejected.
This comment is hidden because it contains spoiler information about the solution
But what will happen if null is passed? So, still good to check.
Thanks for your contribution. Approved!
I hope I'm not missing some obvious errors... Approved!
In future I would suggest to save the expected result in a variable before calling
expect
. I don't think it matters here, but if arguments were Lists or whatever, the translation would be vulnerable to input modification, and we don't want that :PRight you are! Updated: fixed basic tests and updated rundom tests.
Please review and approve: https://www.codewars.com/kumite/657ee1f1b5a5150024c181e2?sel=658fe5c9dc80170a4c4dcb15
Loading more items...