Examveda

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: Option A


This Question Belongs to Data Structure >> Sorting Algorithms

Join The Discussion

Related Questions on Sorting Algorithms