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.
-- Java version of the kata --
The kata details state that inputs are not sorted. My tests have shown that at least one of the successfully submitted solutions is not correct.
This would be detected if a test was added for the following input (expected result: 3):
new int[][] {{10, 11}, {1, 8}, {6, 9}, {5, 7}})
I have a general question (sorry if it is not an appropriate forum, I am new here)
I think it's best to raise an issue for this kata. I have so many questions! see what happens :)
I really love the simplicity of this solution.
However - I tested it with this input: new int[][] {{10, 11}, {1, 8}, {6, 9}, {5, 7}})
and it returns 4 - note {10, 11} does not overlap with any other request - the result should be 3.
Am I missing something?