When does the Worst case occur in linear search algorithm?
A. Item is somewhere in the middle of the array
B. Item is not in the array at all
C. Item is the last element in the array
D. Item is the last element in the array or is not there at all
This question is part of data structure