what are the advantages of binary searching over sequential(linear)searching algorithm
Answers
Answered by
4
In this algorithm, every time search area is reducing. Therefore the number of comparisons is at most log (N+1). As a result, it is an efficient algorithm when compared to linear search, but the array has to be sorted before doing the binary search. C Program to find an element with binary search technique.
Similar questions
English,
7 months ago
English,
7 months ago
English,
7 months ago
Math,
1 year ago
Social Sciences,
1 year ago