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 Timescale

๐Ÿš€ pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applicationsโ€”without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post โ†’

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more