You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
for below test case, the expected output should be false, as the only valid number for board[0][0] is 9, if only consider in row. However, it cannot be 9 when the column is also taken into account. Therefore, there should have no valid number in board[0][0]. So the results of this case should be false. However, it shows the expected output should be true.
Bug Report for https://neetcode.io/problems/valid-sudoku
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
for below test case, the expected output should be false, as the only valid number for board[0][0] is 9, if only consider in row. However, it cannot be 9 when the column is also taken into account. Therefore, there should have no valid number in board[0][0]. So the results of this case should be false. However, it shows the expected output should be true.
board=[[".","8","7","6","5","4","3","2","1"],["2",".",".",".",".",".",".",".","."],["3",".",".",".",".",".",".",".","."],["4",".",".",".",".",".",".",".","."],["5",".",".",".",".",".",".",".","."],["6",".",".",".",".",".",".",".","."],["7",".",".",".",".",".",".",".","."],["8",".",".",".",".",".",".",".","."],["9",".",".",".",".",".",".",".","."]]
The text was updated successfully, but these errors were encountered: