Math, asked by neelofer8822, 10 months ago

List the advantages of binary search over linear search

Answers

Answered by gopu143
4

hey mate herr is the ans of your qun .

Answer

There are a few variations, such as testing for equality as well as for less-than at each step, but that usually doubles the number of comparisons. Advantages: Compared to linear search (checking each element in the array starting from the first), binary search is much faster.

hope it helps u ʘᴗʘ

Similar questions