|
|
|
|
|
by anitil
60 days ago
|
|
That's very cool. I don't quite understand your solution, are you saying that because you used the i:j relationship as a constant it meant you only needed to store positions rather than a whole board? I've never been interested in 8-queens but I'm keen to play with it now |
|
You still need to get the backtracking correct and there's some minor tricks to work out, but that'll get you up to n=8 working quite well.