Coursera

Advanced Algorithms and Complexity

Paid options · Check provider pricing
Check the current offer before enrolling.

This listing comes from our earlier provider catalogue. The description below may mention a past free offer. Payment or a subscription may be required; certificates may cost extra. The provider’s current page has the final access terms and price.

About this course

(25 customer reviews)

Category:

Description

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.

What you will learn

Flows in Networks

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.

Linear Programming

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.

NP-complete Problems

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.

Coping with NP-completeness

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.

Check current price & access ↗

This discussion includes reviews carried over from our earlier catalogue. Check the review date and the provider’s current access and certificate terms.

Questions & discussion

Share a useful question or correction. Comments appear after moderation. Please avoid personal or sensitive information.

  1. I enjoyed the course a lot. I cannot thank the instructors enough.
    It would have been more interesting if we could go deeper on linear programming, such as extension to integer programming. The discussion about the duality was a bit too fast to me.

  2. Excellent but tough course ,you need to work and it is not simply called advanced Algorithms and Complexity.
    You will be forced to test your code properly ,even if you didn’t do it properly in the previous specialisation course.

  3. Thank you very much for this awesome course, I really enjoyed and learned alot from it.
    I really liked the selected topics, they act like an intro to some really interesting fields in the programming.
    I’ve learned about NP multiple times but never found a use to it until now, the problems were really good and informative.
    I think the linear programming was pretty rushed, it should’ve been expanded over two weeks with more in details.
    Maybe add a problem or explain the use of duality .

  4. Very weak explanations. Most time I spent in the internet googling how to implement assignments, because it was not clear from the course.

  5. As usual, complex arguments explained in simple terms!
    Some problems are really tough! (e.g. there’s a problem from Google Code Jam).
    Thank you for this course!

  6. Great course again! The problems are considerably more difficult than in the previous courses in this specialization. The only problem is that the forum interaction with TAs is nonexistent, if you stuck with a problem, you have to solve it alone.

  7. Another great course in this specialization with challenging and interesting assignments. However, this one is somewhat harder but rewarding.

  8. Very bad course content for some modules
    Many abstract concepts and mathematical terms but with severe lack of explanation of the terms and lack of specific, concrete examples to help learners to understand them
    For example: in LP module there should be example of how the primal and dual matrix looks. How simplex algorithm is used on a specific example (showing explicit graph). I undertood only 25% of what was discussed about in this module
    No motivation to move on after week 2!
    Other weeks are slightly better
    In summary: Too many abstract concepts with little examples

  9. This is a very challenging course in the specialization. I learned a lot form going through the programming assignments!

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

  11. I really dislike Daniel Kane’s teaching style!!! His slides are rough and lack of details, the structure of his lectures is loose. Every time I met a Unit taught by Kane, I have to spend much more time on videos and assignments than other Units. This makes me very annoyed — why can’t this teacher be more serious on teaching just like other teachers in this course??? 🙁

  12. Shout-out to professor Alexander Kulikov that is the only one in the whole specialization who has good didactics skills. He knows how to explain a concept by giving examples and walking through them step by step so the viewer can understand the thought process. Unfortunately, professor Kane’s lectures were poorly taught. I understand that his videos are older and maybe the technology wasn’t there yet when he recorded the lectures. You’d better off skipping those lectures and going through the assignments directly, learning the material elsewhere.

  13. An incredibly challenging course with a lot of juicy content. Builds heavily on previous courses in the Data Structures and Algorihms specialization such as hashing, graph searching, data structures, stress testing, algorithmic complexity etc. But given you completed those, you already know how to solve such problems, and it’s rewarding to see all the pieces working as you put them together. Also, this course requires some additional maths knowledge such as linear algebra, logic and probability theory. All in all, the “advanced” attribute fits well.
    Assignments are wildly varying in difficulty – completing one took me 3 days, another was done in just 30 minutes. They were mostly fine (except for the simplex linear programming solver which I haven’t even attempted) and forums were very useful for guidance.
    The videos themselves are usually okay, the only seriously lacking area is the linear programming week with Daniel Kane. LP (a fundamental subject in computer science) in itself could fill a whole course, but simply put, his explanations and examples fell short, it was very hard to understand them. So refer to the additional readings there if you are interested. On the other hand, the rest of the course is nice.
    Week 1 (flow networks) with Daniel was also kind of hard, but not impossible to understand. Alexander Kulikov’s 2 weeks on NP-completeness are the high mark of the course, with engaging and clear explanations. Michael Kapralov’s optional ‘heavy hitters problem’ videos are also interesting and pretty well explained.

  14. Excellent Course. I learnt new things like integer programming and bioinformatics related applications.
    I did my Ph.D in bioinformatics datasets. Stream matching algorithms and apllication oriented wonderful examples

  15. lecturer seems to be reading slides without providing detailed analysis and proofs seem very superficial as well

  16. It’s was great to learn advanced algorithms and complexity. Besides, I learn new topics that can help me further learning. All the problems and the lectures were very good.

  17. Poor delivery. Skipping too many details. poor slides. poor in increasing learners’ interest in the subject.

Add to the discussion

Keep comments relevant and respectful. Spam, adult content, and adult-site names or links are not allowed. All visitor comments are reviewed before publication.

Your email address will not be published. Required fields are marked *