![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
Q. |
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 |
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» 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 |
View all MCQs in
Data Structures (DS)No comments yet