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.
Hi yleb, your code is correct.
There has been a hidden flaw in my test and you uncovered it.
I just created a quick patch to fix it. I'll enhance that part further tonight.
Sorry for your inconvenience and thank you very much!
This comment is hidden because it contains spoiler information about the solution
It happens if players go on because they don't understand one has already won.
Have you ever seen very young children playing connect 4?
Because with them this happens often. Ahaha Lol
This comment is hidden because it contains spoiler information about the solution
C: the input structure should be
const
-qualifiedC and C++ are approved
It would not really help, why would it?
Whole point of the kata is to find and use a performant algorithm. There exists one which is O(n) in time and O(1) in space and requires no additional pointers.
Why don't add a
void *
field on the struct Node? I think it would help with the performanceThen it doesn't pass all the tests, it passes all the tests until it times out. Either your code is too slow or it has an infinite loop.
Hello,
My code pass all the tests, but fails the attempt with message "Execution timed out 12s" .
Can anyone help me?