Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Introduction to Algorithms!
You have completed Introduction to Algorithms!
Preview
In this video we're going to do something unusual - we're going to play a game where two of my friends try to guess a number. It's relevant, I promise!
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
This game is really simple, and
you may have played it before.
0:00
It goes something like this, I am going to
think of a number between 1 and 10, and
0:02
they have to guess what the number is.
0:06
Easy, right?
0:08
When they guess a number, I'll tell them
if their guess is too high or too low.
0:10
The winner is the one
with the fewest tries.
0:14
All right, John, let's start with you.
0:16
I'm thinking of a number between 1 and
10, what is it?
0:18
Between you and me, the answer is three.
0:21
JOHN: Quick question,
does the range include one and ten?
0:24
PASAN: That is a really good question, and so
0:27
what John did right there was to
establish the bounds of our problem.
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up