Solving N queen problem using backtracking algorithm. Layout of the board is chess-like and input for starting queen position needs to follow chess-like format e.g. "a1", "c7"... Time complexity is O(n!). Please note that the most representative version is the one in C or C++. The C one is purely console based and C++ one is visualization. The other ones serve just as demos.
roiqk7 / n_queen Goto Github PK
View Code? Open in Web Editor NEWHere are my solutions to N queen problem.