4 ms·
>In Bubble Sort you only ever compare adjacent items. Here you don't. This is the first thing I noticed and it pretty much says it all. It is not bubble sort b
by sigmoid10 2y ago
>In Bubble Sort you only ever compare adjacent items. Here you don't.
This is the first thing I noticed and it pretty much says it all. It is not bubble sort because there are no bubbles bubbling to the top. Instead it compares every possible element pair combination.
- cogman10 2y agoYeah, feels a lot like a reverse selection sort.