wiktoriakuzma06 wiktoriakuzma06
  • 08-10-2021
  • Computers and Technology
contestada

What is the maximum number of guesses it will take to find a number between 1 and 1000? Explain your answer.

Respuesta :

Аноним Аноним
  • 08-10-2021

Answer:

The maximum number of guesses without binary search is 999 since we would be going sequentially and guessing the numbers. When we reach number 999 and find that is not the answer, we know it has to be 1000, and don't have to guess, so the number of max guesses is 999.

Answer Link

Otras preguntas

2.067 pesos colombianos es un dólar ($1.00) de Estados Unidos. Sandra está en un centro comercial en Colombia. Ella compra un disco compacto por 31.005 pesos. ¿
How many solutions does -5x+10x+3=5x+6 have
What is the probability that fewer than 25 batteries will last at least 8 hours?
what is the sum of the exterior angles in a polygon with 36 sides?
HELP HELP HELP HELP 13 Points
I need help on these two
A muscle that is primarily used for a strength or power movement a. has many muscle fibers per motor unit b. has many motor units but fewer fibers per unit
Jim, Dora, Ada, and Kim together placed a total of 60 cupcakes on a tray. Jim placed 0.45 of the cupcakes, Dora placed 10 of the 60 cupcakes, Ada placed 25% of
What way do you think is better and give me 3 reasons each with a supporting fact/example please
The yellow side is the front. Assuming that there are no hidden blocks, what are the back, top, and left orthographic views of the object?