Intro to Algorithms: Crash Course Computer Science #13
Algorithms are the sets of steps necessary to complete computation - they are at the heart of what our devices actually do. And this isn't a new concept. Since the ...
========== Hi, I’m Carrie Anne, and welcome to CrashCourse
Computer Science! Over the past two episodes, we got our first
taste of programming in a high-level language, like Python or Java. We talked about different types of programming
language statements – like assignments, ifs, and loops – as well as putting statements
into functions that perform a computation, like calculating an exponent. Importantly, the function we wrote to calculate
exponents is only one possible solution. There are other ways to write this function
– using different statements in different orders – that achieve exactly the same numerical
result. The difference between them is the algorithm,
that is the specific steps used to complete the computation. Some algorithms are better than others even
if they prod...