AlgoViz
← Back to the lesson
🧩 Puzzle · Apply Binary Search

Guess my number

I picked a secret number between 1 and 100. After each guess I'll say higher or lower. Can you corner it in 7 guesses? Watch the live range shrink as you do.

It must be somewhere in here:1100
150100
← the smartest move is always the midpoint of the live range