https://github.com/phyulwin/8-queens-problem-machine-learning
The 8 Queens Problem is a classic puzzle in Artificial Intelligence and combinatorial optimization. It involves placing 8 queens on an 8x8 chessboard such that no two queens threaten each other.
https://github.com/phyulwin/8-queens-problem-machine-learning
Last synced: 11 months ago
JSON representation
The 8 Queens Problem is a classic puzzle in Artificial Intelligence and combinatorial optimization. It involves placing 8 queens on an 8x8 chessboard such that no two queens threaten each other.
- Host: GitHub
- URL: https://github.com/phyulwin/8-queens-problem-machine-learning
- Owner: phyulwin
- Created: 2025-03-04T05:52:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-07T06:58:06.000Z (11 months ago)
- Last Synced: 2025-08-07T08:42:24.734Z (11 months ago)
- Language: Java
- Homepage:
- Size: 1.33 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 8 Queens Problem in Artificial Intelligence
The 8 Queens Problem is a classic puzzle in Artificial Intelligence and combinatorial optimization. It involves placing 8 queens on an 8x8 chessboard such that no two queens threaten each other. This means no two queens can share the same row, column, or diagonal. The most efficient way to solve the problem is through backtracking, which systematically explores all possible configurations.
Problem Description: The goal is to find all valid configurations where the queens can be placed without violating the constraints. This problem can be generalized to the N Queens Problem, where N queens are placed on an NxN chessboard.
### Solution Screenshots
#### Solution Example 1

#### Solution Example 2

#### Solution Example 3

#### Solution Example 4

#### Solution Example 5
