package
module
Version:
v0.0.0-...-9b4a7b0
Opens a new window with list of versions in this module.
Published: Oct 30, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
Queens Problem Solver
Introduction
This Go example demonstrates how to solve an n queens problem using bitarray
. A multi-threaded solution is not a goal of this example.
How to Use
- Run
go test
to run unit tests
- Run
go build
to build
Documentation
¶
Print prints the given chess board to the given writer
Result represents the result of the search for solutions to an n queens problem
FindSolutions finds all solutions of the queens problem on a chess board with the given side length
Source Files
¶
Click to show internal directories.
Click to hide internal directories.