VOOZH about

URL: https://www.coursera.org/learn/advanced-algorithms-and-complexity

⇱ Advanced Algorithms and Complexity | Coursera


Advanced Algorithms and Complexity

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Advanced Algorithms and Complexity

87,611 already enrolled

Included with

β€’

Learn more

Ask Coursera

Gain insight into a topic and learn the fundamentals.
4.6

701 reviews

Advanced level
Designed for those already in the industry
Flexible schedule
3 weeks at 10 hours a week
Learn at your own pace
88%
Most learners liked this course

Gain insight into a topic and learn the fundamentals.
4.6

701 reviews

Advanced level
Designed for those already in the industry
Flexible schedule
3 weeks at 10 hours a week
Learn at your own pace
88%
Most learners liked this course

Build your subject-matter expertise

This course is part of the Data Structures and Algorithms Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 5 modules in this course

In previous courses of our online specialization you've learned the basic algorithms, and now you are ready to step into the area of more complex problems and algorithms to solve them. Advanced algorithms build upon basic ones and use new ideas. We will start with networks flows which are used in more typical applications such as optimal matchings, finding disjoint paths and flight scheduling as well as more surprising ones like image segmentation in computer vision. We then proceed to linear programming with applications in optimizing budget allocation, portfolio optimization, finding the cheapest diet satisfying all requirements and many others. Next we discuss inherently hard problems for which no exact good solutions are known (and not likely to be found) and how to solve them in practice. We finish with a soft introduction to streaming algorithms that are heavily used in Big Data processing. Such algorithms are usually designed to be able to process huge datasets without being able even to store a dataset.

Network flows show up in many real world situations in which a good needs to be transported across a network with limited capacity. You can see it when shipping goods across highways and routing packets across the internet. In this unit, we will discuss the mathematical underpinnings of network flows and some important flow algorithms. We will also give some surprising examples on seemingly unrelated problems that can be solved with our knowledge of network flows.

What's included

9 videos5 readings1 assignment1 programming assignment1 plugin

9 videosβ€’Total 72 minutes
  • Introductionβ€’3 minutes
  • Network Flowsβ€’9 minutes
  • Residual Networksβ€’10 minutes
  • Maxflow-Mincutβ€’8 minutes
  • The Ford–Fulkerson Algorithmβ€’8 minutes
  • Slow Exampleβ€’4 minutes
  • The Edmonds–Karp Algorithmβ€’12 minutes
  • Bipartite Matchingβ€’11 minutes
  • Image Segmentationβ€’7 minutes
5 readingsβ€’Total 50 minutes
  • About Universityβ€’10 minutes
  • Slides and Resources on Flows in Networksβ€’10 minutes
  • Rules on the academic integrity in the courseβ€’10 minutes
  • Available Programming Languagesβ€’10 minutes
  • FAQ on Programming Assignmentsβ€’10 minutes
1 assignmentβ€’Total 30 minutes
  • Flow Algorithmsβ€’30 minutes
1 programming assignmentβ€’Total 180 minutes
  • Programming Assignment 1β€’180 minutes
1 pluginβ€’Total 4 minutes
  • Pre-survey on HSE online coursesβ€’4 minutes

Linear programming is a very powerful algorithmic tool. Essentially, a linear programming problem asks you to optimize a linear function of real variables constrained by some system of linear inequalities. This is an extremely versatile framework that immediately generalizes flow problems, but can also be used to discuss a wide variety of other problems from optimizing production procedures to finding the cheapest way to attain a healthy diet. Surprisingly, this very general framework admits efficient algorithms. In this unit, we will discuss some of the importance of linear programming problems along with some of the tools used to solve them.

What's included

10 videos1 reading1 assignment1 programming assignment

10 videosβ€’Total 84 minutes
  • Introductionβ€’5 minutes
  • Linear Programmingβ€’9 minutes
  • Linear Algebra: Method of Substitutionβ€’6 minutes
  • Linear Algebra: Gaussian Eliminationβ€’11 minutes
  • Convexityβ€’9 minutes
  • Dualityβ€’13 minutes
  • (Optional) Duality Proofsβ€’7 minutes
  • Linear Programming Formulationsβ€’9 minutes
  • The Simplex Algorithmβ€’10 minutes
  • (Optional) The Ellipsoid Algorithmβ€’7 minutes
1 readingβ€’Total 10 minutes
  • Slides and Resources on Linear Programmingβ€’10 minutes
1 assignmentβ€’Total 30 minutes
  • Linear Programming Quizβ€’30 minutes
1 programming assignmentβ€’Total 180 minutes
  • Programming Assignment 2β€’180 minutes

Although many of the algorithms you've learned so far are applied in practice a lot, it turns out that the world is dominated by real-world problems without a known provably efficient algorithm. Many of these problems can be reduced to one of the classical problems called NP-complete problems which either cannot be solved by a polynomial algorithm or solving any one of them would win you a million dollars (see Millenium Prize Problems) and eternal worldwide fame for solving the main problem of computer science called P vs NP. It's good to know this before trying to solve a problem before the tomorrow's deadline :) Although these problems are very unlikely to be solvable efficiently in the nearest future, people always come up with various workarounds. In this module you will study the classical NP-complete problems and the reductions between them. You will also practice solving large instances of some of these problems despite their hardness using very efficient specialized software based on tons of research in the area of NP-complete problems.

What's included

16 videos2 readings1 assignment1 programming assignment1 plugin

16 videosβ€’Total 115 minutes
  • Brute Force Searchβ€’6 minutes
  • Search Problemsβ€’10 minutes
  • Traveling Salesman Problemβ€’8 minutes
  • Hamiltonian Cycle Problemβ€’8 minutes
  • Longest Path Problemβ€’2 minutes
  • Integer Linear Programming Problemβ€’3 minutes
  • Independent Set Problemβ€’3 minutes
  • P and NPβ€’4 minutes
  • Reductionsβ€’5 minutes
  • Showing NP-completenessβ€’7 minutes
  • Independent Set to Vertex Coverβ€’5 minutes
  • 3-SAT to Independent Setβ€’15 minutes
  • SAT to 3-SATβ€’7 minutes
  • Circuit SAT to SATβ€’12 minutes
  • All of NP to Circuit SATβ€’6 minutes
  • Using SAT-solversβ€’14 minutes
2 readingsβ€’Total 20 minutes
  • Slides and Resources on NP-complete Problemsβ€’10 minutes
  • Minisat Installation Guideβ€’10 minutes
1 assignmentβ€’Total 30 minutes
  • NP-complete Problemsβ€’30 minutes
1 programming assignmentβ€’Total 180 minutes
  • Programming Assignment 3β€’180 minutes
1 pluginβ€’Total 10 minutes
  • Surveyβ€’10 minutes

After the previous module you might be sad: you've just went through 5 courses in Algorithms only to learn that they are not suitable for most real-world problems. However, don't give up yet! People are creative, and they need to solve these problems anyway, so in practice there are often ways to cope with an NP-complete problem at hand. We first show that some special cases on NP-complete problems can, in fact, be solved in polynomial time. We then consider exact algorithms that find a solution much faster than the brute force algorithm. We conclude with approximation algorithms that work in polynomial time and find a solution that is close to being optimal.

What's included

11 videos1 reading1 assignment1 programming assignment

11 videosβ€’Total 119 minutes
  • Introductionβ€’4 minutes
  • 2-SATβ€’11 minutes
  • 2-SAT: Algorithmβ€’12 minutes
  • Independent Sets in Treesβ€’14 minutes
  • 3-SAT: Backtrackingβ€’11 minutes
  • 3-SAT: Local Searchβ€’13 minutes
  • TSP: Dynamic Programmingβ€’15 minutes
  • TSP: Branch and Boundβ€’10 minutes
  • Vertex Coverβ€’9 minutes
  • Metric TSPβ€’13 minutes
  • TSP: Local Searchβ€’6 minutes
1 readingβ€’Total 10 minutes
  • Slides and Resources on Coping with NP-completenessβ€’10 minutes
1 assignmentβ€’Total 30 minutes
  • Coping with NP-completenessβ€’30 minutes
1 programming assignmentβ€’Total 180 minutes
  • Programming Assignment 4β€’180 minutes

In most previous lectures we were interested in designing algorithms with fast (e.g. small polynomial) runtime, and assumed that the algorithm has random access to its input, which is loaded into memory. In many modern applications in big data analysis, however, the input is so large that it cannot be stored in memory. Instead, the input is presented as a stream of updates, which the algorithm scans while maintaining a small summary of the stream seen so far. This is precisely the setting of the streaming model of computation, which we study in this lecture. The streaming model is well-suited for designing and reasoning about small space algorithms. It has received a lot of attention in the literature, and several powerful algorithmic primitives for computing basic stream statistics in this model have been designed, several of them impacting the practice of big data analysis. In this lecture we will see one such algorithm (CountSketch), a small space algorithm for finding the top k most frequent items in a data stream.

What's included

10 videos1 assignment1 programming assignment

10 videosβ€’Total 72 minutes
  • Introductionβ€’5 minutes
  • Heavy Hitters Problemβ€’8 minutes
  • Reduction 1β€’5 minutes
  • Reduction 2β€’7 minutes
  • Basic Estimate 1β€’8 minutes
  • Basic Estimate 2β€’7 minutes
  • Final Algorithm 1β€’5 minutes
  • Final Algorithm 2β€’13 minutes
  • Proofs 1β€’6 minutes
  • Proofs 2β€’8 minutes
1 assignmentβ€’Total 50 minutes
  • Quiz: Heavy Hittersβ€’50 minutes
1 programming assignmentβ€’Total 180 minutes
  • (Optional) Programming Assignment 5β€’180 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructors

Instructor ratings
4.5 (56 ratings)
University of California San Diego
7 Coursesβ€’759,211 learners
University of California San Diego
5 Coursesβ€’741,213 learners

Explore more from Algorithms

Why people choose Coursera for their career

πŸ‘ Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
πŸ‘ Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
πŸ‘ Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
πŸ‘ Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

  • 5 stars

    72.75%

  • 4 stars

    17.83%

  • 3 stars

    5.27%

  • 2 stars

    1.85%

  • 1 star

    2.28%

Showing 3 of 701

RS
Β·

Reviewed on Apr 6, 2019

Very informative course with challenging assignments. It will surely make your data structure concepts clearer.

CS
Β·

Reviewed on Aug 25, 2019

Very Very Challenging Course , it test your patience and rewards is extremely satisfying. Lot of learning on a complicated subject of NP-Hard problems.

JM
Β·

Reviewed on Jul 25, 2019

Very Educational and Enlightening. The only criticism I have is that the starter files generally need more modification than indicated to create a successful program.

Frequently asked questions

To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,