Skip to content

A quick solution to the 8 queens problem and a templated class to solve N queen problems

License

Notifications You must be signed in to change notification settings

dpwegener/8_Queens

Repository files navigation

8_Queens

This is a recursive backtracking c++ solution to the 8 Queens problem.

The n_queens.hpp file contains a general version of the code to calculation an NxN queen board using an array of bitsets to save the board state.

About

A quick solution to the 8 queens problem and a templated class to solve N queen problems

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published