diff --git a/backtracking/n_queens.cpp b/backtracking/n_queens.cpp index d879795ee..c864fff6a 100644 --- a/backtracking/n_queens.cpp +++ b/backtracking/n_queens.cpp @@ -97,7 +97,7 @@ void solveNQ(std::array, 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(board, col + 1); board[i][col] = 0; // backtrack