You are given an grid.
In one operation, you can choose any row or column and invert all of its values (changing every
Return true if it is possible to transform grid such that all its elements become false otherwise.
Constraints:
m grid.length
n grid[i].length
m, n
grid[i][j] is either
You are given an grid.
In one operation, you can choose any row or column and invert all of its values (changing every
Return true if it is possible to transform grid such that all its elements become false otherwise.
Constraints:
m grid.length
n grid[i].length
m, n
grid[i][j] is either