r/programming • • Dec 02 '19

Bubble sort visualization

7.4k Upvotes

268 comments sorted by

View all comments

Show parent comments

1

u/0PointE Dec 04 '19 edited Dec 10 '19

Considering the statement sum({x | 1 <= x < n}) is the famous Gaussian series simplified as (n(n +1))/2 no matter the size, not probably, I'd say it matters in practice.