Here's a fun party trick for math geeks. What if we told you that you can guess any number between 1 and 1,000 within 10 guesses or less?
The first step is to get your buddy to pick a number. For every guess you make, the other person must tell you one of three things:
- you
guessed the number
- your guess was high
- your guess was low
The trick to getting this to work is to constantly be cutting the amount of numbers you have to consider in half, which makes this trick the perfect example of
how a binary search process works.
For the detailed steps to this trick, read the full post via
Business Insider