| 11. | Just one last question about bubble sort.
|
| 12. | My experience is that humans use an insertion sort or bubble sort for short lists.
|
| 13. | So, we might want to replace things like complex sorts with simpler bubble sorts.
|
| 14. | It is a comparison sort related to bubble sort, with which it shares many characteristics.
|
| 15. | In this case, perhaps people might resort to something a lot like a bubble sort.
|
| 16. | Various efforts have been made to eliminate turtles to improve upon the speed of bubble sort.
|
| 17. | Note, however, that cocktail sort more often refers to a bidirectional variant of bubble sort.
|
| 18. | For these reasons many modern algorithm textbooks avoid using the bubble sort algorithm in favor of insertion sort.
|
| 19. | Bubble sort and variants are rarely used in practice, but are commonly found in teaching and theoretical discussions.
|
| 20. | Bubble sort the array by comparing adjacent numbers, and swapping them if they are in the wrong order.
|