Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Remember the 20 questions game? In that game, your friend thinks about something and you must guess what it is by asking at most 20 questions, such that your friend responds to each question by either...

1 answer below »
Remember the 20 questions game? In that game, your friend thinks about something and you must guess what it is by asking at most 20 questions, such that your friend responds to each question by either YES or NO. (Your final guess is not counted as a question.) A. Show that if your friend thinks of a number between 1 and 1 mil- lion, then it is always possible to guess it correctly using at most 20 questions. B. Now, consider a variant of this game: Your friend thinks of a number between 1 and N, and you must guess it using as few questions (with YES/NO answers) as you can. But, there is an extra rule: every time the answer to your question is NO, it counts as a strike, and you are only allowed at most 3 strikes. If you get the third strike, you must guess the answer immediately, without asking any more questions. Show that it is possible to correctly guess the number using at most O(N 1/3 ) questions.
Answered 114 days After May 21, 2022

Solution

Ajay answered on Sep 13 2022
65 Votes
Solution
20 Questions is a game about guessing the word or thing that a clue giver is thinking of using twenty or fewer questions which could be answered by "yes" or "no". 20 Questions is an old family game such as I Spy or Hide and Seek, so different people may have learned the game with different variations on the rules, but generally here is the way it works:
One person is selected as the clue giver. There can be one or more guessers. The clue giver thinks of something (I'll call it the target word) which the guessers are supposed to guess. Typically, players use a rule...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here