Computer Science, asked by sushanthraju2183, 2 days ago

time complexity of selection sort and bubble sort if the arry is sorted are​

Answers

Answered by lalp4435
0

Explanation:

Differences between Bubble sort and Selection sort

Bubble sort Selection sort

The time complexities in best case and worst case are O(n) and O(n2) respectively. The time complexity in both best and worst cases is O(n 2).

Similar questions