← ALL NOTES
LeetCode

3546. Equal Sum Grid Partition I

Given a matrix grid. Determine whether one horizontal OR vertical cut can split it into two non-empty parts with equal sums.

Loading…