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.
Thanks you for your numbers, really appreciate it. Seems I still have a long way to go. I barely manage to get 128 attempts before my code timeouts on a 1000x1000 board.
Around 400x400 is my current limit where my code at least sometimes gets a solution before time is up. Probably going to rewrite it entirely.
I intentionally formulated my question oversimplified to not spoiler anyone. I figured the number of attempts would be a good indicator for estimating how much more efficient one's code has still to get.
To find a solution you basically try a queen constellation, test it, then you try another queen constellation - until you found one, right?
How many of such guesses did you need per average (just a rough estimation) until you found a solution for the 1000x1000 board?
At least it was not just me :D
Thank you very much for your quick response. I had written that part and when I wanted to rewrite it, I just deleted without writing it new.
So I thought I considered everything and it seems that then my frustration made me blind.
Now it works!
Hello, I just wanted to ask how trustworthy are the tests in JavaScript?
More than one time I've seen tests like the one beneath.
Alice has no valid word in her memory, however Bob does - namely
heme
.My code finds this word and therefore the winner is
1
(Bob). The test however claims that-1
is the correct result.Either the tests are heavily unreliable or i misunderstood the Kata completely.
Thanks for help in advance!