2482. Difference Between Ones and Zeros in Row and Column
Medium
30 Points
Array
Matrix
Simulation
You are given a 0-indexed m x n binary matrix grid.
A 0-indexed m x n difference matrix diff is created with the following procedure:
Return the difference matrix diff.
2482. Difference Between Ones and Zeros in Row and Column
Medium
30 Points
Array
Matrix
Simulation
You are given a 0-indexed m x n binary matrix grid.
A 0-indexed m x n difference matrix diff is created with the following procedure:
Return the difference matrix diff.