Which method is better:Bubble of selection shorting? Why?
Answers
Answered by
2
Answer:
bubbling is better
- because if we didn't know the answer we can keep any option
Answered by
1
Answer:
Bubble sort works most efficiently when the data it is applied to are in order or nearly in order. Selection sort has the same efficiency no matter what the composition of the data. Thus, bubble sort is a better algorithm to choose when the data are close to being in sorted order.
Similar questions