750 - 8 Queens Chess Problem


Difficulty : easy

Solution Description :

Backtracking (8-queen problem)

At first find all possible combination of 8-queen using backtracking recursion and store all combination to array. You got 92 combination.

Then determining the given row and column by matching (one queen row and column) the board to each of these combination.