Problem 1292 · Medium

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

Find the largest square whose sum is at most the threshold.

Open the interactive visualisation