Problem 633 · Medium

Sum of Square Numbers

Decide whether a target can be written as the sum of two perfect squares. The visual places one pointer at the smallest square and one at the largest, moving whichever step keeps the sum on track.

Open the interactive visualisation