Introduction - If you have any usage issues, please Google them yourself
Four Queens problem of artificial intelligence, backtracking- under constraints preorder, and cut branches that do not satisfy the conditions during the traversal. Characterized in use of backtracking algorithm for solving the problem should be divided into several steps, and each step has several possible choices, and often unsuccessful when you need to go back and try a selection Alternatively, if the target is to reach the solved every step of the solution of the problem constitutes a choice, go back to the first step and if no new options to solve the problem failed. In backtracking strategy, also by introducing some of the problems associated with information to speed up the search for a solution. For queens problem, because each row, each column and each diagonal, can only put a queen, a queen when placed on the board, no matter what position it on the board, and it affects the rows board position in the column direction is fixed, row, column, there was no information about what