Q.

In linear search algorithm the Worst case occurs when ____________.

A. The item is somewhere in the middle of the array.
B. The item is not in the array at all.
C. The item is the last element in the array.
D. The item is the last element in the array or is not there at all.
Answer» D. The item is the last element in the array or is not there at all.
2.1k
0
Do you find this helpful?
5

View all MCQs in

Data Structures (DS)

Discussion

No comments yet