Vidyalelo
Data Structure · Q35

Searching Algorithms

Programming · Data Structure · question 35

Q35

In which scenario does linear search outperform binary search?

A.
When the array is unsorted.
Answer
B.
When the array is very large.
C.
When the array is sorted.
D.
When duplicates are allowed.

Answer: Option A

Solution

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