Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
buzzin_
· 5y ago · 0 comments
What do you mean, it looks like bubble sort? It is bubble sort.
Comments
[–]
svat
5y ago
Bubble sort only swaps adjacent elements. The one I used is a lesser-known sort apparently called "exchange sort".