3 ms·
No - bubble sort is pretty much always the wrong answer. All modern quicksort implementations switch to insertion sort when N is small enough.
by dancast 14y ago
No - bubble sort is pretty much always the wrong answer. All modern quicksort implementations switch to insertion sort when N is small enough.
- stcredzero 14y agoIn that case, it's pretty disingenuous of him to have bubble sort as analogous to Objects in his analogy.