3 ms·
Don't divide by two. Order matters. And that +1 is going the wrong way so you might as well just say n^2.
by Dylan16807 2y ago
Don't divide by two. Order matters.
And that +1 is going the wrong way so you might as well just say n^2.
- ninkendo 2y agoOh, right, duh. Yeah it’s just n^2. (If it was n+(n-1)+…+1, then my equation would have been correct, but you’re right, since order matters it’s just plain n^2.)