Daily Archives: October 13, 2020

leetcode 1605

The point is to assign each rowSum value to each cell in each row, assign each colCum value to each cell in each row.

For example, need to assign 6 to m[0][1], m[1][1], m[2][1].

Check this video for detail process.

transform