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.
Your solution is not accounting for an edge case that is present in the random tests, but not in the sample tests.
(Of course, it's been 14 months since you posted, so it's also possible there was a problem that has been fixed; but it hasn't been marked resolved.)
the random tests are weird. how does this make sense?
[(-98, -21), (-20, 50), (56, 83)] should equal [(-98, 100)]
It failed me for 59 cases like this
This comment is hidden because it contains spoiler information about the solution
Raised as an issue.
Exact duplicate of this kata.
https://www.codewars.com/kata/5708eac1d531cd94950016a2
Random input generation time reduced by a factor of 3, I'm not sure if will be enough but I will mark it as resolved for now
this one is closer (but not exactly the same, even if almost the very same): https://www.codewars.com/kata/5495bfa82eced2146100002f
na a "real" duplicate
This one?
but the exact duplicate exists somewhere, iirc. Published (or done) not so long ago...
Around 9 secs ->
8855ms
The random input generation is terribly slow.
Looks like a duplicate of this kata.
Edit: similar, but not quite the same.
I agree. If I pass a list into someone else's function, I want at least a warning in the docs if it's going to modify it.
Loading more items...