3. Guess my number: Your friend chooses an integer between 0 and 100. You have to find out that number by asking questions, but your friend can answer only in 'yes' or 'no'. What strategy would you use?
Answers
Answered by
0
Answer:
saying that number is between 0-10 yes , no
11-20 yes , no
etc
now. in 0-10 between 0-5 yes , no
etc
this is best way
Answered by
3
Answer:
Step-by-step explanation:
The strategy has 4 steps:
Step 1: Number is even
Step 2: Perfect square
Step 3: We can ask for interval like 1 - 25, 25 - 50 etc.
Step 4: We can ask for divisibility by 2 or 3 depending on odd or even nature
Similar questions