Save this video free

Advanced Algorithms (Winter 2026-27) - 03-04 Strong NP hardness

Sebastian Wild (Lectures) · 24:10 · 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-04 Strong NP hardness Watch on YouTube →

Overview

Sebastian Wild defines strong NP-hardness by requiring a problem to remain NP-hard when every integer in its input is bounded by a polynomial in the input length. Assuming P ≠ NP, this rules out pseudo-polynomial algorithms; Wild demonstrates the definition with a Hamiltonian-cycle reduction to TSP and explains its equivalence to NP-hardness under unary encoding.

Key takeaways

Chapters

0:00 Strong NP-Hardness and the Barrier to Pseudo-Polynomial Algorithms
8:51 TSP Is Strongly NP-Hard via Hamiltonian Cycle
17:09 Unary Encoding Gives an Equivalent Test for Strong NP-Hardness
22:36 Knapsack in Unary and the Limits of Pseudo-Polynomial Algorithms

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

Transcript excerpt

0:01 We've seen some problems where we could find pseudo polynomial time algorithms, but also there's many many other problems where nobody has succeeded. So, we want to complement this nice algorithmic design technique with a lower bound an impossibility technique. And that's called strong NP-hardness. I think I apologize for the name even though it's not mine, of course. Uh in light of the later theory, you'll see that this is a bit of a a bold name for a It just predates some of the other developments, and so people coined the term when there was a lot of terms available. Maybe um in hindsight is is not great. Uh maybe what we would want to say is is even

0:47 uh hard for small numbers or something like that that conveys a bit more the message. Uh let's start with the definition straight away. From what you've seen, maybe you can guess. We should somehow express that the problem remains hard even if the numbers are are small. Because then a pseudo polynomial time algorithm uh can't exist, right? This is the intuition, I think, is clear if um if an algorithm is only exponential in the size of in the value of these numbers, and the problem is hard even with small numbers, well, then probably you don't have such an algorithm. Formally, um and note that I've I've um I've renamed the variables. It's kind of if you want

1:35 to check, I've updated this consistently retroactively in in unit two, as well. I want to be a bit more strict about talking about problems, which are always denoted by pi for problem. Um versus just the language for decision problems was a bit in clash with the optimization version. So, L was used for two two different

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.