This project demonstrates the N-Queens problem, a backtracking algorithm where N queens must be placed on an N×N chessboard such that no two queens attack each other. The algorithm uses recursion and backtracking to explore all possible placements of queens, pruning unsafe positions. The visualization shows the chessboard and allows cycling through all valid solutions using a “Next Solution” button.
-
Notifications
You must be signed in to change notification settings - Fork 0
munaveed/CHESS
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published