2482. Difference Between Ones and Zeros in Row and Column

QUESTION:

EXPLANATION:

SOLUTION: