Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
Finish the Eight Queens
Puzzle: Finish the Eight Queens
Author: @Ondra77
Published Difficulty: Medium
Algorithm X Complexity: Straightforward
Strategy
It should be fairly simple to use your code from n Queens to create a solution for this puzzle. You need to limit the possible actions so that Algorithm X is forced to place queens on board locations prefilled with a Q
. The hard way to do that is to completely restrict the actions to only locations on the board where a queen could be placed. I will let you figure out the easier way!
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content