Equal Sum Grid Partition II
Try every straight cut and check whether one discounted cell, with the rest of its section still connected, can balance the two sides.
Try every straight cut and check whether one discounted cell, with the rest of its section still connected, can balance the two sides.