Save this video free

Advanced Algorithms (Winter 2026-27) - 03-01 Pseudopolynomial algorithms

Sebastian Wild (Lectures) · 14:42 · Watch on YouTube

Part of University of Marburg CS 627. See all 14 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Advanced Algorithms (Winter 2026-27) - 03-01 Pseudopolynomial algorithms Watch on YouTube →

Overview

Sebastian Wild defines integer input problems and uses the largest encoded integer, max int, to explain pseudopolynomial running time: polynomial in both input length and max int. Because a binary-encoded integer can be exponential in the input length, pseudopolynomial time is not generally polynomial time, but it becomes polynomial on instances whose max int is polynomially bounded. He formalizes this through restricted problem instances and shows the same implication for optimization problems.

Key takeaways

Chapters

0:00 Integer Input Problems and the Exponential Range of Binary Values
8:05 Pseudopolynomial Time and Its Difference from Quasipolynomial Time
10:09 Polynomially Bounded Integers Yield Polynomial-Time Algorithms

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:02 Let us recap where we are. We've now covered again classic complexity theory, which is pretty much about bad news. We've covered these four pages of different interesting problems that model all sorts of um abstracted as versions of of real-life problems, and they're all NP-complete. So, what do we do next? And the first of these loopholes that I promised we'll look at uh is essentially using um then pseudo-polynomial time algorithms, which is a term you if you've not heard of doesn't help that much. Um it looks at a specific property of of these problems that they sometimes have, which is namely being defined in terms of

0:50 numbers. And if these numbers aren't too big, sometimes uh the problem is not that bad to solve. Now, we'll see an example of that. And also the limits, um let's start a bit with uh making a bit more formal, a bit more clear what we mean when we talk about this um integer-based problems. Um I call these integer input problems, where this this language that we care about is again you know, there's encodings for all valid valid problems, and then there's the yes instances. We're back to the threshold worlds, where we just decide a yes or a no. And if this input uh semantically means there is a

1:38 sequence of integers behind it or involved, then let's call this an integer input problem. This is a bit of an informal definition, because it really is a semantic distinction. My point is here rather to make sure that we we uh define the scope of what's to come. For these problems, let's use this uh notation max int to just decode mean the modulus of the largest integer that occurs in this encoding. I think here if there's negative numbers

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Sebastian Wild (Lectures).

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.