Why this is a valid sudoku?


  • 3
    J

    Input: [".87654321","2........","3........","4........","5........","6........","7........","8........","9........"]
    Output: false
    Expected: true

    This is not a valid sudoku. As the position(0,0) has to be 9, but it is duplicated with the last row. A but in the OJ.


  • 5
    Z

    The newest note says:

    A valid Sudoku board (partially filled) is not necessarily solvable.
    Only the filled cells need to be validated.

    So it should be a valid sudoku.


  • 0
    J

    Oh... Thanks.


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.