Vidyalelo
Data Structure · Q72

Searching Algorithms

Programming · Data Structure · question 72

Q72

What is the best case and worst case complexity of ordered linear search?

A.
O(nlogn), O(logn)
B.
O(logn), O(nlogn)
C.
O(n), O(1)
D.
O(1), O(n)
Answer

Answer: Option D

Solution

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