LeetCode: 2482-Difference Between Ones and Zeros in Row and Column 解題紀錄
Last Updated on 2023-12-14 by Clay
題目
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: