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
Thanks, I guess I should have worked that out from the example I gave.
For the random tests in Java it appears to have multiple missing array lengths. e.g.
Wrong for [
[2, 2, 1, 3, 4, 1, 2, 1],
[4, 3, 4, 3, 1, 0, 4],
[2, 0, 1, 0, 0, 1],
--missing 5
[0, 3, 1, 2]
--missing 3
--missing 2
--missing 1
] expected: 5 but was 1
It is true that 5 is missing but so is 1,2 and 3. Is it expecting to receive the largest missing array?
I think the points are split between 'Code challenge completed' = 1pt and the 'colorX code challenge completed' = N - 1pt
The test based on diff'ing the output can fail if there are multiple jobs with identical salarys