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

What does w = PleaE help
What is the percentage increase from 108.5 to 145.4
The first angle of a triangle is 17 degrees less than the second angle.the third angle of a triangle is six times the second angle.use x to represent the unknow
In 1876, the first US separate graduate school was established in...
784 marbles are shared among X,Y,Z in the ratio 3:2:5. how many marbles that each get?
out of the three states of matter which cannot be compressed on applying pressure
The government’s involvement in economy serves what two purposes?
Name three arthropod head appendages and their functions
write the following measurements in longform: 1. 4.5x30 g 2. 1.99x10-8 cm
Facebook's initial IPO was $38 per share. Arianna purchased 616 shares. Assuming a cost of $7.00 to purchase the 616 shares, what was Arianna's total cost?