According to the last input, it expect to be true;but I drew it and it should be wrong.


  • 1
    K

    the last input is
    ["..5.....6","....14...",".........",".....92..","5....2...",".......3.","...54....","3.....42.","...27.6.."]

    ".....92..","5....2..." will be wrong.


  • 0
    Y

    Yes, I think this test case is wrong.


  • 0
    C

    I have encountered the same question. Then I found out that we misunderstood the meaning of the question. The problem requires us only check 9 sub-squares marked by bold black lines rather than all possible 3*3 sub-squares. So, this test case is not wrong.


Log in to reply
 

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