Unstub

Two running sumsEasy

Square of the Sum Minus the Sum of Squares

Return the square of the sum of the numbers 1 to n, less the sum of their squares.

Aim for O(n) time, O(1) spaceInspired by a classic maths puzzle ↗