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

A scooterist moves along a circular track of radius 0.2 km and completes one revolution in 2 minutes. Determine velocity of the scooterist.
What number is halfway between -15 and 20
what is the answer to this multi-step equation 3(a+22)=12a+30
In classical conditioning, a stimulus is used to provoke or elicit a response that __________. A. it didn’t elicit naturally before conditioning occurred B. it
What is the electric potential energy of a charge that experiences a force of 3.6x10^-4 N when it is 9.8x10^-5 m from the source of the electric field? A) 3.5
Naomi has earned $54 mowing lawns the past two days.She worked 2 1/2 hrs yesterday and 4 1/4 hours today. If Naomi is paid the same amount for every hour she wo
What is the climate of Scotland
I need help with this question please.
Mark has 312 books in his bookcases. He has 11 times as many fiction books as nonfiction books. How many fiction books does Mark have?
match these terms with there definitions