Person A thinks of a 5 digit binary number. Person B tries to guess the number. B can guess a 5 digit binary number and A will respond with the number of correct digits (digits in the right place).
What is the maximum number of guesses B will take to know the binary number (assuming he is playing optimally)?
No comments:
Post a Comment