Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Problem with N queens

$
0
0
I think this kind of programming is called forward checking. so you during the way to find the right solution you automatically remove the positions that queen cant have position there. So e.x depth first search every positions and in the end give the solution, while this code search only the position allowed !! It is like that or no.

Mod Edit: Split from this topic.

Please don't reopen an old topic for your new question. Start your own topic.

Viewing all articles
Browse latest Browse all 51036

Trending Articles