Skip to content

Commit 3ecb825

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a1853d6 commit 3ecb825

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: backtracking/n_queens.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ def is_safe(board: list[list[int]], row: int, column: int) -> bool:
2626
Boolean Value
2727
2828
"""
29-
30-
n = len(board) # Size of the board
31-
29+
30+
n = len(board) # Size of the board
31+
3232
# Check if there is any queen in the same row
3333
for i in range(n):
3434
if board[row][i] == 1:

0 commit comments

Comments
 (0)