Q.

The worst case occures in linear search algorithms when

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

Discussion

No comments yet