BIWIZARD | 3 | Question 2

Last Updated :
Discuss
Comments

The Worst case occurs in linear search algorithm when

Item is somewhere in the middle of the array

Item is not in the array at all

Item is the last element in the array

Item is the last element in the array or is not there at all.

Share your thoughts in the comments