Isn't the first example wrong?


  • 0
    C
    This post is deleted!

  • 0
    J

    Same question here, it seems that you have already figured it out. So in the first example, why the output [0][2] remains "E" instead of "1"?
    Thanks in advance.


  • 0
    A

    @jp1994 because that block you won't be able to visit when you click [3,0]. the number blocks surrounding it is where you stop propagating, so [0,2] remains untouched and unchanged.


Log in to reply
 

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