Science, asked by shakeelahmed2827, 1 year ago

What are the advantages for bubble sort?

Answers

Answered by Anonymous
5
The main disadvantage of the bubble sort is that is not the fastest sort. ... Other sorting algorithms have worst case complexity of O(n log n). So, for small sets, it is fine and easy to use, but the more items being sorted, the less efficient it is compared to alternative methods of sorting.
Answered by expertgenius1
8
Advabtages:

Easy to understand.

Easy to implement.

In-place, no external memory is needed.

Performs greatly when the array is almost sorted.

Similar questions