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.
https://www.codewars.com/kata/reviews/5fcd4cca646b88000106abc2/groups/651adf57dd5d5f0001f440e9
This shouldn't pass, but it passes.
The reference code in the description is missing the JS version.
Python: The sorting requirement in the description and in the tests don't match.
As described, the example output gets the second and third rectangles wrong (the second has a width of 2, the third a width of 1; the latter should come first as it shares a top left corner with the second but has a smaller width)
The tests expect the output to simply be sorted lexicographically, i.e. without any special key function at all. This matches the output described above.
The description should have this requirement removed for Python (don't know about Haskell tests).
It's a pretty interesting kata and unique, that's for sure. The problem is that the description is quite confusing. You should provide some details about how the function should work, that would be much easier to make some tests, that would prove that the implementation is wrong.
Also, in C# tests break, when I call function with null as a parameter, I think you should probably look into that, because the first parameters, that would come to my mind when testing using string as paarameter is string.Empty and null.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
how many tests are there in total?
Will help in terms of understanding how far off we are from completing before the timeout
Returning inconsistent datatypes is not a best practice. Consider asking for a list, possibly of length 0 or 1, of all possible solutions.
Something is off with this sentence:
[[0,0], [0,0]]
(a single area with 4 diamonds) not valid?"parcel" is confusingly used for both land and diamonds.
"exactly" that number seems to be missing here, and "minimum" is incorrect, because it implies any greater number is also acceptable and that seems not to be the case.
The spacing of the map is incorrect in my webbrowser ( this may be my webbrowser's problem ).
https://www.codewars.com/kata/reviews/5fb412bdda0fba0001630191/groups/5fb421a61290dd00010d96f8
Tests shouldn't let solution like this to pass.
Loading more items...