Question: How many iterations are required to sort the array arr={2,3,4,5,1} using bubble sort and cocktail sort respectively?
Options
A : 4,2
B : 5,3
C : 5,2
D : 4,3
Cocktail Sort Multiple Choice Mcqs more questions
The number of signals in 1-propanol are _________ while those....
Given delta[4] is a global array and number of elements....
The number of electrons in bonding orbital and anti-bonding orbital....
Two sets A and B contains a and b elements....
If A has 4 elements B has 8 elements then....
The weights used in Binary coded decimal code are:
An outcode can have ____ bits for two-dimensional clipping and....
Lowest value of buckling coefficient for simply supported plates is....
Calculate the pKa of lactic acid, given that when the....
The value of kv in the elastic critical shear stress....
Chemical Engineering Basics - Part 1 more Online Exam Quiz
Bucket Sort Uniform Keys Multiple Choice Mcqs
Chans Algorithm Multiple Choice Mcqs
Chromatic Number Multiple Choice Mcqs
Closest Pair Problem Multiple Choice Mcqs
Columnar Transposition Multiple Choice Mcqs
Comb Sort Multiple Choice Mcqs
Complete Bipartite Graph Multiple Choice Mcqs