Vidyalelo
Data Structure · Q506

Sorting Algorithms

Programming · Data Structure · question 506

Q506

Which of the following is true?

A.
Shell sort's passes completely sort the elements before going on to the next-smallest gap while Comb sort's passes do not completely sort the elements
Answer
B.
Shell sort's passes do not completely sort the elements before going on to the next-smallest gap like in Comb sort
C.
Comb sort's passes completely sort the elements before going on to the next-smallest gap like in Shell sort
D.
Shell sort's passes do not completely sort the elements before going on to the next-smallest gap while Comb sort's passes completely sort the elements

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board