N-Queens Problem

How the experiment performed :
  1. Select the number of Queens.
  2. Please enter between 4 to 10 number.
  3. The chessboard is adjusted automatically.
  4. How many total solutions found are display in the left side.
  5. On changing the number of solution found , different solutions are displayed on the chessboard.
** Solutions Found
Algorithm :

The method will work on the Simulator is explained below in an algorithmic steps –

  1. Return Success, If current position is goal.
  2. Else,
  3. If Current position is end box to reach goal, return failed.
  4. Else, in case current position is not end box, Do continue above step.