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
Business Studies,
4 months ago
Hindi,
4 months ago
English,
4 months ago
English,
9 months ago
Accountancy,
1 year ago
Science,
1 year ago