algorithms.tutorialhorizon.com

Minimum number of guesses needed to find a specific number | Algorithms

Given the numbers 1 to 1000, what is the minimum number of guesses needed to find a specific number if you are given the hint "higher" or "lower" for each guesses you make.