mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
docs: Minor correction
This commit is contained in:
parent
de5f695afa
commit
358f56f9be
@ -97,7 +97,7 @@ void solveNQ(std::array<std::array<int, n>, n> board, const int &col) {
|
||||
// Place this queen in matrix
|
||||
board[i][col] = 1;
|
||||
|
||||
// Recur to place rest of the queens
|
||||
// Recursive to place rest of the queens
|
||||
solveNQ<n>(board, col + 1);
|
||||
|
||||
board[i][col] = 0; // backtrack
|
||||
|
Loading…
Reference in New Issue
Block a user