2314. Remove All Ones With Row and Column Flips II

Medium
Array
Bit Manipulation
Breadth-First Search
Matrix

Description

Hints

Hint 1
With the given constraints, could a brute force solution pass?
Hint 2
What would a brute force solution look like?
Hint 3
We can try every single possibility of choosing to do an operation on a cell with a 1 or choosing to ignore it.

Statistics

Acceptance
67.2%
Submissions
8,296
Accepted
5,571