Skip to content

Create N-Queens#367

Open
Satyam-Singh-01 wants to merge 1 commit intokeshavsingh3197:masterfrom
Satyam-Singh-01:patch-3
Open

Create N-Queens#367
Satyam-Singh-01 wants to merge 1 commit intokeshavsingh3197:masterfrom
Satyam-Singh-01:patch-3

Conversation

@Satyam-Singh-01
Copy link

The n-queens puzzle is the problem of placing n queens on an n x n chessboard such that no two queens attack each other.

Given an integer n, return all distinct solutions to the n-queens puzzle. You may return the answer in any order.

Each solution contains a distinct board configuration of the n-queens' placement, where 'Q' and '.' both indicate a queen and an empty space, respectively.

The n-queens puzzle is the problem of placing n queens on an n x n chessboard such that no two queens attack each other.

Given an integer n, return all distinct solutions to the n-queens puzzle. You may return the answer in any order.

Each solution contains a distinct board configuration of the n-queens' placement, where 'Q' and '.' both indicate a queen and an empty space, respectively.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant