Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
yeevs
· 2y ago · 0 comments
it's the summation of numbers from 1 to n which is n(n+1)/2. This reduces to quadratic complexity because big O notation ignores all coefficients and terms that scale slower
Comments
No comments yet.
Better HN