Vidyalelo
Data Structure · Q444

Sorting Algorithms

Programming · Data Structure · question 444

Q444

What is the best case time complexity of cocktail sort?

A.
O(n)
Answer
B.
O(n log n)
C.
O(n2)
D.
O(log n)

Answer: Option A

Solution

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