What is the valid?


  • 0
    J
    ....5..1.
    .4.3.....
    .....3..1
    8......2.
    ..2.7....
    .15......
    .....2...
    .2.9.....
    ..4......
    

    For my solution, this is true, because there is no duplicate in any row or column, but the judge thinks it is false.


  • 1
    C

    The case violates the third rule "the numbers 1-9 must occur just once in each of the 9 sub-boxes of the grid".


Log in to reply
 

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