Leetcode 3546. Equal Sum Grid Partition I | Hello Interview