1.

How many iterations are required to sort the array arr={2,3,4,5,1} using bubble sort and cocktail sort respectively?

A. 4,2
B. 5,3
C. 5,2
D. 4,3
Answer» B. 5,3


Discussion

No Comment Found