Computer Science, asked by dessuabewa, 1 year ago

what are the advantages of binary searching over sequential(linear)searching algorithm

Answers

Answered by Pramodkumarhani
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