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
Objects do not have key order in general.
This is not properly tested: sorting by
y
first orx
first both passes the tests.Also this description is not properly formatted at all (and not even coherent in the first place), it screams to be rewritten.
Distance metric is not specified, and frankly insane: why is Chebyshev distance used??? Shouldn't any sane person be able to deduce that distances in reality are in Euclidean distance?
This comment is hidden because it contains spoiler information about the solution
My solution passed without any problem and is using lambda.
Seems that the problem was fixed.
Fixed
This comment is hidden because it contains spoiler information about the solution
"Can't use Operator >" when using lambda functions (this problem is so simple that I'm trying to golf it).
Added 100 random tests.
Added 100 random tests.
Added random tests.
I kinda agree.
Like, look at this.
It wouldn't be too hard to add more test cases, right? ;)
https://www.codewars.com/kata/reviews/58af0bf927934939d7001c8e/groups/5ccb5b8c1c62dd0001c589e2?
Too few test cases
No random tests.
Tests are woefully inadequate.
You have 6 tests for checking source code, but only 2 actual tests? That's... just ridiculous.
Loading more items...