Vidyalelo
Data Structure · Q422

Sorting Algorithms

Programming · Data Structure · question 422

Q422

What is the worst case time complexity of gnome sort?

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

Answer: Option B

Solution

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