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
Earlier we looked at a generic definition of an algorithm. Let's dig deeper in this video and come up with a list of steps we need to fulfill to call our code an algorithm
Resources
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
You might be thinking, hey, I thought
I was here to learn about algorithms.
0:00
The exercise we just did was an example
of a real life situation you'll
0:02
run into when building websites,
apps, and writing code.
0:07
Both approaches taken by John and
0:11
Britney to find the number I was thinking
of are examples of searching for a value.
0:13
It might be weird to think that
there's more than one way to search.
0:19
But as you saw in the game,
0:22
the speed at which the result was obtained
differed between John and Britney.
0:23
Think about this problem from the
perspective of a company like Facebook.
0:28
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