DEV Community

Abhay Prajapati
Abhay Prajapati

Posted on

I made a maze which follows the principles of the ๐Ÿ‘‘ N-Queen Problem.

try Maze!
The maze is a simple chess board with n number of rows and columns.
The work is simple for n number of rows and columns you have to place n number of queens in such a way that none of the queens should intersect to its rows, columns, and even diagonals.
Nqueens

In Computer Science the main goal is solve this problem in minimum number of attempts.

There are several ways to solve this problem using methods like brute force, backtracking, dynamic programming etc.
Give it a try!
n-queen

Top comments (0)