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

what did they wrote in making their ideas available to ordinary people
If pressure of a gas is increased in its volume at constant what will happen to its temperature
2. Which one of the following BEST describes the main idea of “What to Do in Bear Country"? A Bears are dangerous wild animals that should be avoided. B Bears e
jayden uses the net below to design a box how much cardboard will jayden need to make the box
Giotto used foreshortening in order to?
Find the slip of the line parallel of the graph y= -3x - 6
Solve for: 1/2 divided by 7 1/2=
Which of the following actions would cause an increase in the level of reserves in the banking​ system?(A) A customer withdraws funds from Reliable Bank and dep
Find the slope and the y - intercept of the graph of the linear equation. y=3x - 2
What is the relationship between motion and frame