

McqMate
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. |
View all MCQs in
Data Structure and Algorithms (DSA)No comments yet