Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Please please please, can you give me a hint on the strategy to use to find the answer in 4 tries?

answer Hint strategy tries
0
Posted

Please please please, can you give me a hint on the strategy to use to find the answer in 4 tries?

0

The strategy is very simple actually. At ever step, you want to reduce the possibilities to half of the number of possibilities in the previous step. So, start from the middle. If that is too small, take the middle value of the bigger set (and the reverse if it is too big). Continue this way – notice that you can divide 15 by 2 only 4 times before you only have 1 option. • Are we supposed to have the computer generate random guess each time or should we assign the program to guess 8 first and then 12 if that is too small or 4 if that is too big? Maybe I did not make this very clear in the answer above. The strategy discussed above would essentially indicate that the computer’s guess will start with 8, and then go down or up based on how you react to it. But this is just a strategy, although probably the only one that is guaranteed to get to the solution within 4 tries. If you generate random guesses, you may not be guaranteed to make it in 4 tries. If you can come up with a strategy us

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123