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

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

đź‘‹ Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay