what is the objective of binary search Algorithm?
Answers
Answered by
2
Answer:
binary search compares the target value to the middle element of array. if they r not equal, the half in which the target cannot lie is eliminated and the search continues on the remaining half, again taking the middle element to compareto the target value, and repeating this until the target value is found.
Similar questions
Social Sciences,
3 months ago
Math,
3 months ago
English,
7 months ago
Accountancy,
1 year ago
Science,
1 year ago