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.
Rust: The tests seem to have issues.
I got this compilation error:
I suspect the
size
variable in the test is u32 instead of usize.The first check should be first.len() != second.len(). Otherwise, the answer may be wrong.
E.g.,
first = "a"
second = "aa"
The answer should be None instead of 0.
i have the same issue, is there a way to fix the tests?
For elixir: The test for integer = 2 is wrong.
Correct result: "2 is prime"
Result expected by Codewars: [2, 1]