首页 > TAG信息列表 > 2128

[Google] LeetCode 2128 Remove All Ones With Row and Column Flips

You are given an m x n binary matrix grid. In one operation, you can choose any row or column and flip each value in that row or column (i.e., changing all 0's to 1's, and all 1's to 0's). Return true if it is possible to remove all 1&