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.
OP's code is not correct, it contains a trailing newline.
@hobosky, except it's called "Minimax" :)
Anyone still wondering, my solution uses MinMax and with a bit of tweaking it works smoothly, complete test suite runs ~2.5s.
Same here, I get the following error:
(len = 15)
Expected different result:
Expected string length 763 but was 882. Strings differ at index 21.
Expected: "Lorem-----ipsum\ndolor\nsit\namet,\nconsectetur\nadipiscing\nelit.\n..."
But was: "Lorem-----ipsum\ndolor-------sit\namet,\nconsectetur\nadipiscing\n..."
---------------------------------^
Edit: Don't blame me for this broken editor. I even inserted br-tags, which aren't ignored in preview...
Edit2: I see now that this issue has been posted multiple times before.
I
These two lines in description contradict themselves:
This comment is hidden because it contains spoiler information about the solution
Yesterday I had to go.. Anyway, my bad! I was wrongly assuming that board arrays initialization was supposed to respect board visualization so I got columns and rows swapped. Again sorry for wasting your time.
That said, maybe it's supposed to be this way as part of the challenge but since the description is so well done in my opinion could be a good thing to point out that first array is first column etc.
Hi Steffen, thanks for the Kata!
I have a question. Is minimax a considered solution? The reason I ask is because I am getting timeout errors. I think one of the tests runs 7000 times which goes longer than 12 seconds.
Thanks,
Ronald