Algorithms: Design and Analysis, Part 2

Tim Roughgarden, Stanford University

In this course you will learn several fundamental principles of advanced algorithm design: greedy algorithms and applications; dynamic programming and applications; NP-completeness and what it means for the algorithm designer; the design and analysis of heuristics; and more.

In this course you will learn several fundamental principles of advanced algorithm design. You'll learn the greedy algorithm design paradigm, with applications to computing good network backbones (i.e., spanning trees) and good codes for data compression. You'll learn the tricky yet widely applicable dynamic programming algorithm design paradigm, with applications to routing in the Internet and sequencing genome fragments.  You’ll learn what NP-completeness and the famous “P vs. NP” problem mean for the algorithm designer.  Finally, we’ll study several strategies for dealing with hard (i.e., NP-complete problems), including the design and analysis of heuristics.  Learn how shortest-path algorithms from the 1950s (i.e., pre-ARPANET!) govern the way that your Internet traffic gets routed today; why efficient algorithms are fundamental to modern genomics; and how to make a million bucks in prize money by “just” solving a math problem!

Syllabus

Weeks 1 and 2: The greedy algorithm design paradigm.  Applications to optimal caching and scheduling.  Minimum spanning trees and applications to clustering.  The union-find data structure.  Optimal data compression.

Weeks 3 and 4: The dynamic programming design paradigm.  Applications to the knapsack problem, sequence alignment, shortest-path routing, and optimal search trees.

Weeks 5 and 6: Intractable problems and what to do about them.  NP-completeness and the P vs. NP question.  Solvable special cases. Heuristics with provable performance guarantees.  Local search. Exponential-time algorithms that beat brute-force search.

Recommended Background

How to program in at least one programming language (like C, Java, or Python); and familiarity with proofs, including proofs by induction and by contradiction.  At Stanford, a version of this course is taken by sophomore, junior, and senior-level computer science majors.  The course assumes familiarity with some of the topics from Algo 1 --- especially asymptotic analysis, basic data structures, and basic graph algorithms.

Suggested Readings

No specific textbook is required for the course.  Much of the course material is covered by the well-known textbooks on algorithms, and the student is encouraged to consult their favorite for additional information.


Course Format

The class will consist of lecture videos, generally between 10 and 15 minutes in length. These usually have integrated quiz questions. There will also be standalone homeworks and programming assignments that are not part of video lectures, and a final exam.

FAQ

  • Will I get a statement of accomplishment after completing this class? Yes. Students who successfully complete the class will receive a statement of accomplishment signed by the instructor.
  • What is the format of the class? The class consists of lecture videos, which are broken into small chunks, usually between eight and twelve minutes each. Some of these may contain integrated quiz questions. There will also be standalone quizzes that are not part of video lectures. There will be approximately two hours worth of video content per week.
  • What should I know to take this class? How to program in at least one programming language (like C, Java, or Python); familiarity with proofs, including proofs by induction and by contradiction; and some discrete probability, like how to compute the probability that a poker hand is a full house. At Stanford, a version of this course is taken by sophomore, junior, and senior-level computer science majors.  While Part 2 is designed for students who have already taken Part 1, some students have successfully completed Part 2 without taking Part 1.
Dates:
  • 16 March 2015, 6 weeks
  • 30 June 2014, 6 weeks
  • 2 September 2013, 6 weeks
  • 3 December 2012, 8 weeks
Course properties:
  • Free:
  • Paid:
  • Certificate:
  • MOOC:
  • Video:
  • Audio:
  • Email-course:
  • Language: English Gb

Reviews

No reviews yet. Want to be the first?

Register to leave a review

Included in selections:
6-046jf05 Algorithms
Algorithms and data structures from the beginning to advanced analysis.
Vyyjayfzd3pynkssdhnqwcrx4bk4ennc1-ren956ujr2e1pya9umefxe-z08yngaz4nptzjr4nqcte0whwul=s0#w=1724&h=1060 Алгоритмизация вычислений
1 курс МИЭМ ВШЭ, 4 кредита
More on this topic:
Discreetoptimisation_logo Discrete Optimization
Tired of solving Sudokus by hand? This class teaches you how to solve complex...
18-125f03 Measure and Integration
This graduate-level course covers Lebesgue's integration theory with applications...
18-413s04 Error-Correcting Codes Laboratory
This course introduces students to iterative decoding algorithms and the codes...
6-080s08 Great Ideas in Theoretical Computer Science
This course provides a challenging introduction to some of the central ideas...
Large-icon-attr VLSI CAD: Logic to Layout
A modern VLSI chip has a zillion parts -- logic, control, memory, interconnect...
More from 'Computer Science':
C2750912-8e29-426f-91b8-c03b0dd9ee8f-ddebdf3fcd22.small Autonomous Mobile Robots
Basic concepts and algorithms for locomotion, perception, and intelligent navigation...
856c4be9-8fea-42a9-984c-e5bc46794796-8c72085fb7c0.small IoT Networks and Protocols
Learn about IoT networks and the protocols and standards associated with the...
Regular_199cffe6-4c1f-40af-83ce-69988ddffa8e How To Start Your Career In Games Development
Learn how to start a career in games development by hearing from leading games...
Ff568e8d-1311-4fb8-8ef7-aab197e70c81-a7f95f500c44.small Health Informatics: A Current and Historical Perspective
Background on US healthcare, the key current applications of informatics in...
E3933140-d4dc-4a6a-bf08-4e068cc5609e-cf7572a28d23.small Health Informatics: Data and Interoperability Standards
The key standards for representing and sharing healthcare data. Once electronic...
More from 'Coursera':
Success-from-the-start-2 First Year Teaching (Secondary Grades) - Success from the Start
Success with your students starts on Day 1. Learn from NTC's 25 years developing...
New-york-city-78181 Understanding 9/11: Why Did al Qai’da Attack America?
This course will explore the forces that led to the 9/11 attacks and the policies...
Small-icon.hover Aboriginal Worldviews and Education
This course will explore indigenous ways of knowing and how this knowledge can...
Ac-logo Analytic Combinatorics
Analytic Combinatorics teaches a calculus that enables precise quantitative...
Talk_bubble_fin2 Accountable Talk®: Conversation that Works
Designed for teachers and learners in every setting - in school and out, in...

© 2013-2019