DEV Community

Discussion on: Bubbling Up With Bubble Sorts

Collapse
 
mortoray profile image
edA‑qa mort‑ora‑y

This is a really great introduction to algorithm analysis! I never thought bubble sort could be so educational.

Once you've understood this, and want a tad bit more, see The amortized cost of vector insert is 3