The Worst case occur in linear search algorithm when
Item is not in the array at all
Item is the last element in the array or is not there at all
Item is somewhere in the middle of the array
None
0 comments:
Post a Comment