70.0k views
0 votes
This search compares the target value with the middle element in the collection, then ignores the half of the collection in which the target cannot exist a) Linear b) Exponential c) Interpolation d) Binary

User Jschnasse
by
7.5k points

1 Answer

1 vote

Answer:

d) Binary

Step-by-step explanation:

Binary search is a search algorithm that finds the position of a value in an ordered array. It compares the value with the element in the middle of the array, if they are not equal, half in which the value cannot be eliminated and the search continues in the remaining half until the value is found.

User Venkatskpi
by
8.2k points