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.
c#: I don't understand how the semicolons are counted:
the body consists of: { return xxxx; }
but Test Failed
Too many semicolons found. Only 1 allowed.
Expected: 1
But was: 4
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I had a little look at this Kata today and have a solution that solves the sample tests fine, but times out for the final tests. I'm finding it a little hard to find the root of the problem, as I'm unable to debug the cases. Any help would be greatly appreciated!
It should be told in the description that the code is executed in strict mode... :/
I had found a pretty nice idea, but I cannot apply it because of this.
I believe one of the
Board Configurations, 1st Turn
test cases is wrong... it says✘ Expected: 2, instead got: 1
. I think the correct result is 1 (X will win). Can you please double check this?The test case is: (I'd spoiler this, but it can be trivially logged)
[ [ 1, 0, 0 ], [ 0, 0, 0 ], [ 0, 2, 0 ] ]
kata is very nice.
If you add some random testcase, I will vote it as "Very" and rank it as "5kyu" ;-)
If no, sorry...
Needs random test cases, see my solution.