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.
No information is given about the order of checking the pixels. Each person can assume a completely different search order and arrive and completely different answers because of this line: "summing the differences between... the pixel that was matched last with the new candidate pixel."
The order matters.
I'd like to point out that dividing by 3 is not the correct way to convert RGB to grayscale, and maybe it's best if it accepts a 2d array of singular grey values instead.
Don't confuse so easily. Closing.
Test output is currently absolutely disgusting because at least it was better than the unintelligible mess that was the old one.
Raising this issue so that people can yell at me if I don't fix it eventually.
If you can provide some descriptions of cases you would like tested then I can add them.
JS fork
The description states that the input should be an NxM array, but the random tests for Python can produce arrays with rows of differing lengths.
This comment is hidden because it contains spoiler information about the solution
Approved
python new test framework is required. updated in this fork
java translation for revision (author inactive)
java translation (author inactive)
Fixed
Loading more items...