McqMate
Q. |
What is the bidirectional variant of selection sort? |
A. | cocktail sort |
B. | bogo sort |
C. | gnome sort |
D. | bubble sort |
Answer» A. cocktail sort | |
Explanation: a bidirectional variant of selection sort is called cocktail sort. it’s an algorithm which finds both the minimum and maximum values in the array in every pass. |
View all MCQs in
Design and Analysis of AlgorithmsNo comments yet