Question about Largest Plus Sign
Hi, I am trying to solve the problem. \nOne of my submission says I have a wrong expected answer. \n\nThe input is \n\n2\n[[0,0],[0,1],[1,0]]\n\nThe expected an
Hi, I am trying to solve the problem. \nOne of my submission says I have a wrong expected answer. \n\nThe input is \n```\n2\n[[0,0],[0,1],[1,0]]\n```\nThe expected answer is `1` \n\nI don\'t understand how this is possible. \nHow can you have a plus sign with lengths and widths 2? \n\nSomeone please explain this to me.\n\n![image](https://assets.leetcode.com/users/images/3cd1bab8-ba22-47ce-925b-37170fd5dddb_1631215104.788658.png)\n\nAnswer: \n\nAfter testing and trying for a while, my understanding is that: \n` 1 <= mines <= 5000` \nSo when `n = 1` `mines = 1` , meaning max order = `0` \nBut when `n = 2` the order can be `1`, which leaves with the center and nothing else. \n\nBut how is this a plus sign though... \nIt\'s just one dot. \nI argue that `n >=3` in order for a plus sign to exist. \nCorrect me if I\'m wrong.
[]