caraghi4440 caraghi4440
  • 18-11-2021
  • Computers and Technology
contestada

Let's assume there are 500 items in a sorted list. In the worst case, about how many checks would Binary Search make to find a target value

Respuesta :

felipegomes220
felipegomes220 felipegomes220
  • 18-11-2021

Answer:

500?

Explanation:

I'm assuming the search will either check from the beginning or the end. If the the item is the 499 and the search starts at 0 than it will do 500 checks right? Same way if the item is at index 0 and the search starts from the 499.

Answer Link

Otras preguntas

What’s the mood throughout stanzas 1-8 in the poem “the raven” if u answer I’ll give brainliest!!
The system shown below is . 3x – 4y = 12 6x – 8y = 21
Math the feature or term to the characteristics in column 2Earthquake FaultHimalayasSubduction zoneTo:When one plate goes under anotherBrake in the crustCaused
Please answer this correctly without making mistakes
HELP WITH BIOLOGY! LOOK AT ATTACHED IMAGE
PLEASE HELP ASAP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 10 POINTS + BRAINLIEST!!!
Help ASAPHelp ASAPuse completing the square to rewrite quadratic function into the form y=a(x+h)²+kf (x) =4x²+6x-3 (1 point)​
With good watershed management, where vegetation and groundcover are retained, it is possible to reduce problems such as flooding and soil erosion. True Fals
What would happen if America became a communist country?
how do I conjugate spanish verbs? please go into detail i have no idea what im doing