About this Course
8,914

100% online

Start instantly and learn at your own schedule.

Flexible deadlines

Reset deadlines in accordance to your schedule.

Advanced Level

Approx. 26 hours to complete

English

Subtitles: English

100% online

Start instantly and learn at your own schedule.

Flexible deadlines

Reset deadlines in accordance to your schedule.

Advanced Level

Approx. 26 hours to complete

English

Subtitles: English

Syllabus - What you will learn from this course

Week
1
2 hours to complete

Analysis of Algorithms

We begin by considering historical context and motivation for the scientific study of algorithm performance. Then we consider a classic example that illustrates the key ingredients of the process: the analysis of Quicksort. The lecture concludes with a discussion of some resources that you might find useful during this course....
4 videos (Total 76 min), 2 readings, 1 quiz
4 videos
A Scientific Approach 16m
Example: Quicksort 30m
Resources 17m
2 readings
Getting Started10m
Exercises from Lecture 110m
1 practice exercise
Analysis of Algorithms4m
Week
2
2 hours to complete

Recurrences

We begin this lecture with an overview of recurrence relations, which provides us with a direct mathematical model for the analysis of algorithms. We finish by examining the fascinating oscillatory behavior of the divide-and-conquer recurrence corresponding to the mergesort algorithm and the general "master theorem" for related recurrences....
5 videos (Total 71 min), 1 reading, 3 quizzes
5 videos
Telescoping15m
Types of Recurrences 12m
Mergesort 18m
Master Theorem 14m
1 reading
Exercises from Lecture 210m
3 practice exercises
Pop Quiz on Telescoping2m
Pop Quiz on the Master Theorem2m
Recurrences4m
Week
3
2 hours to complete

Generating Functions

Since the 17th century, scientists have been using generating functions to solve recurrences, so we continue with an overview of generating functions, emphasizing their utility in solving problems like counting the number of binary trees with N nodes....
5 videos (Total 84 min), 1 reading, 1 quiz
5 videos
Counting with Generating Functions27m
Catalan Numbers14m
Solving Recurrences18m
Exponential Generating Functions7m
1 reading
Exercises from Lecture 310m
1 practice exercise
Generating Functions6m
Week
4
2 hours to complete

Asymptotics

Exact answers are often cumbersome, so we next consider a scientific approach to developing approximate answers that, again, mathematicians and scientists have used for centuries....
4 videos (Total 83 min), 1 reading, 1 quiz
4 videos
Manipulating Expansions 19m
Asymptotics of Finite Sums 16m
Bivariate Asymptotics 28m
1 reading
Exercises from Lecture 410m
1 practice exercise
Asymptotics4m
4.7
6 ReviewsChevron Right

Top Reviews

By AKApr 29th 2018

This course is more about mathematic than algorithms, it teaches how to solve tricky combinatorial problems

By HLMar 10th 2018

This is great course if you already done some algorithms courses and want to go deeper.

Instructor

Avatar

Robert Sedgewick

William O. Baker *39 Professor of Computer Science
Computer Science

About Princeton University

Princeton University is a private research university located in Princeton, New Jersey, United States. It is one of the eight universities of the Ivy League, and one of the nine Colonial Colleges founded before the American Revolution....

Frequently Asked Questions

  • Once you enroll for a Certificate, you’ll have access to all videos, quizzes, and programming assignments (if applicable). Peer review assignments can only be submitted and reviewed once your session has begun. If you choose to explore the course without purchasing, you may not be able to access certain assignments.

  • No. As per Princeton University policy, no certificates, credentials, or reports are awarded in connection with this course.

More questions? Visit the Learner Help Center.