πŸ“Š Design and Analysis of Algorithms
Q. What is the bidirectional variant of selection sort?
  • (A) cocktail sort
  • (B) bogo sort
  • (C) gnome sort
  • (D) bubble sort
πŸ’¬ Discuss
βœ… Correct 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.


Explanation by: Mr. Dubey
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

πŸ“Š Question Analytics

πŸ‘οΈ
1000
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate