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

whats 24x23 rounded to the nearest tenth
A speaker's tone should be determined by his/her _________________. pronunciation, accent and topic. size, age and vocabulary. purpose, content and setting. ner
Select all the numbers that are prime. A. 9 B. 11 C. 19 D. 29 E. 39
Number 2 please help
kelly types 210 words for 5 minutes. if each page of her papers contains 350 words how long will it take her to types 6 pages of her papers?
How can you solve decimal division easy? This is very hard for me to do
this is soo hard help please​
Which expressions are equivalent to 3x + 3(x + y) ? х Help
Solve the equation. 2(3x – 1) = 5 - (x + 3)
If Blake scored 182 points in 14 games, how many will he score in 17 games?