Maximum Side Length of a Square with Sum Less than or Equal to Threshold

Medium

A written explanation for this problem is on the way. In the meantime, watch the video above or try it on LeetCode.