Computer Science, asked by 16uca003, 1 year ago

Which one of the following can be termed as worst case for linear search?
Element to be searched is present somewhere in the middle of the array.
Element to be searched is present at 0th index of the array.
Element to be searched is present at the last index of the array.
Element to be searched is present at the last index of the array or Element to be searched is not present in the array.

Answers

Answered by Amaan161
0
i think B element to be searched is present at 0th index of the array
Answered by karthikakumaresan
0
the answer is d.since both the statements are true

Similar questions