Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

36 Valid Sudoku fail for some invalid Sudoku #31

Closed
kfkelvinng opened this issue Apr 4, 2022 · 2 comments
Closed

36 Valid Sudoku fail for some invalid Sudoku #31

kfkelvinng opened this issue Apr 4, 2022 · 2 comments

Comments

@kfkelvinng
Copy link

https://github.com/neetcode-gh/leetcode/blob/main/36-Valid-Sudoku.py

Is there a valid for

Solution().isValidSudoku(
    [
        ["9","2","3","4","5","6","7","8","."],
        [".",".",".",".",".",".","6","5","2"],
        [".",".",".",".",".",".",".","4","3"],
        [".",".",".",".",".",".","9",".","4"],
        [".",".",".",".",".",".",".",".","5"],
        [".",".",".",".",".",".",".",".","6"],
        [".",".",".",".",".",".",".",".","7"],
        [".",".",".",".",".",".",".",".","8"],
        [".",".",".",".",".",".",".",".","9"],
    ]
)
@Kraken-ops
Copy link
Contributor

I have worked on this issue and submitted my pr.

@Ahmad-A0
Copy link
Collaborator

Ahmad-A0 commented Jul 9, 2022

Unless I'm missing something the value returned by the current python solution is correct. If something was broken Kraken-ops claims to have fixed it.

@Ahmad-A0 Ahmad-A0 closed this as completed Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants