NP-Hard and NP-Complete: The Problems Everything in NP Reduces To

Created by Abhyuday DesaiPublished , v1Runs 3 min 50 sec
0 views

About this video

In Episode 03 of P vs NP Explained, we define the two names for the hard problems. A problem that every problem in NP reduces to is NP-hard. If it is also in NP itself, it is NP-complete. Subset sum is both. The halting problem is NP-hard without being NP-complete, because no algorithm decides it at all. We then meet four NP-complete problems, and see why a polynomial time algorithm for any one of them would mean P equals NP.

You'll learn how to:

  • Define NP-hard and NP-complete, and tell the two apart
  • See how the Cook-Levin theorem made SAT the first NP-hard problem, and why every later proof takes one reduction
  • Recognize four NP-complete problems: SAT, subset sum, three-coloring, and the decision version of the traveling salesman problem
  • Understand why one fast algorithm for any of them would settle P versus NP
  • See why the optimization version of a problem is called NP-hard, though P and NP are defined for decision problems only

This video follows Episode 02, which explains reductions.

What changed

  1. v103 Oct 2026abhydesai3 min 50 secab97bbc

    First published version.

    0 views0 likes on this version