pascaljohnson17
pascaljohnson17 pascaljohnson17
  • 25-09-2021
  • Computers and Technology
contestada

Why a binary search is better than a linear search

Respuesta :

abegailcartilla
abegailcartilla abegailcartilla
  • 25-09-2021

Answer:

The main advantage of using binary search is that it does not scan each element in the list. Instead of scanning each element, it performs the searching to the half of the list. So, the binary search takes less time to search an element as compared to a linear search.

Explanation:

Answer Link
hennea9505
hennea9505 hennea9505
  • 25-09-2021
Binary are easier for the computers to read
Answer Link

Otras preguntas

I don't know what to do
log(x+3/10)+logx+1=0
Explain how to use a number line to model the equation –7 + 4. Then determine its sum.
who did not want to compromise with the south
Read the excerpt below from “The Colomber” by Dino Buzzati and answer the question that follows. So, the idea of that hostile creature waiting for him day and n
If investors can earn ten percent interest in an account in mexico but just three percent in the us, those investors will
The outlaws grabbed the gold and headed for the hills.
Many parents are worried that tobacco advertisements that use cartoon characters will encourage young people to smoke. this reflects _______.
How much area will the dimensions of a right triangle are 35 feet by 20 feet?
340 pages;20% decrease