docs: Minor correction

This commit is contained in:
David Leal
2020-08-10 12:37:51 -05:00
parent de5f695afa
commit 358f56f9be

View File

@@ -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