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.
Thank you, it was really a great Kata!
The tests for preconditions were annoying, though. I'd prefer no invalid inputs in the big test cases.
Thanks, for some reason I was assuming straight directions only.
Here's the relevant part of the input again. Cells X and Y both have colour 5.
Cell Y has depth 3, but the depth of cell X is only 2 (one step down and one step left get you to a differently-coloured cell). So, X isn't part of the solution.
This was the real input during the random test:
what's the input?
In Java
In what language?
Right now the random test is failing. But it seems to expect a wrong solution:
In this example, the random test ist expecting only 1 field with maximum depth of 3 (indizes: 2, 3, starting from upper left corner). My code return 2 fields. As far as I understood the description, it should be 2. Can someone help pls?
Thank you.
Test keeps telling: arrays first differed at element [0]; expected:<55> but was:<1836311903>
It works correct on my machine.
Any ideas? (java)
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
My solution passed, but does not work properly:
my hand "7C 7S 2S 2H AH" wins against "KC KH 5D QS QC".
A test is missing for this case I guess.
Yeah, thats true. I was considering "Strings with one word do not need gaps ('somelongword\n')." In this case the word has the same length as the width then.
This is an invalid input according to the description and I also cannot see any test like this in C#. There are only
Loading more items...