1. Computer Science Engineering (CSE)
  2. Design and Analysis of Algorithms
  3. What is the bidirectional variant of sel...
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.

Discussion