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.
This comment is hidden because it contains spoiler information about the solution
Tests should use python test framework: https://docs.codewars.com/languages/python/codewars-test
This comment is hidden because it contains spoiler information about the solution
In c++ it keeps failing with exit code 132, eventhough the tests seem to pass and the log is empty.
I tried to google exit code 132, but found nothing that seemed applicable to this situation.
Does anybody know what might be going on here?
NASM Translation
This comment is hidden because it contains spoiler information about the solution
Expected: equal to [ ]
Actual: [
how can it be... other tests are ok
please, anyone, give me a hint
c++
This comment is hidden because it contains spoiler information about the solution
A best practice when templating this kind of algorithm is to
make it generic, i.e. pass a range or [begin,end) as template parameters...
Indeed, the initial parameter says 'iterable' :-)
May also test with any kind of ordered iterable, so that one may use concepts one day and return {} if the values cannot be ordered ?
There's a few missing C# test cases
I got confused for data types .....
like, example
[1, 2, 3, 4, "4", 4, "4", "4"]
should it be
[1, 2, 3, 4, "4", 4, "4"]
or
[1, 2, 3, 4]
??
I am using JavaScript.
The sample tests in crystal expect an array of strings whereas the random tests expect an array of characters
Ruby 3.0 should be enabled, see this to learn how to do it
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...