I ask you to pick a number from 1 to 100.
I then ask you, “Is the number greater than X?”
You must truly answer yes or no until I tell you the number.
What is the maximum number of questions I ask you if I choose the optimal strategy?
Here X is the number of my choice.