P vs. NP and the Computational Complexity Zoo

hackerdashery · 3.7M views · 2014 · 10:44

Open on YouTube

Computability & complexity theoryRecreational & visual mathexplainer

Why Hacker News recommends it

HN repeatedly recommends it as the best short, funny introduction to P vs. NP and complexity classes for people with no background.

What it is

An 11-minute animated introduction to P vs. NP and the wider landscape of complexity classes, inspired by the Complexity Zoo wiki. It assumes no background in computer science.

Recommended by 4 HN commenters across 5 different months, 2015 to 2026.

What Hacker News said

Strong rec sgrove · 2017-12 · on “Classic Nintendo Games Are NP-Hard (2012)”

There's a fantastic video I refer to every now and then if I'm a bit unsure about it, definitely recommend it - [this video]

Strong rec sgrove · 2023-05 · on “Problems harder than NP-Complete”

My absolute favorite overview of this - the video goes over both the explanation of the spaces, but also how it relates to a sort of understanding of reality itself! [this video]

Recommends austinl · 2016-11 · on “The P=?NP Poll (2002) [pdf]”

This 10 minute video is a great introduction to the P = NP problem and computational complexity theory if you have no context. I've shown this to plenty of friends (including those outside of computer science). Essentially, "does being able to quickly recognize correct answers mean there's also a quick way to find them?" [this video]

Recommends d23 · 2017-01 · on “P vs. NP”

A guy at a company I used to work for made a great video on this. Very understandable even without any background on the topic: [this video]

Recommends jlg23 · 2017-06 · on “The asymmetry in storytelling between math and the other sciences”

> I would guess the P!=NP proof would be an example. Unfortunately, it doesn't have any easy description that the average person would understand. "Hard. Really hard. Don't be ridiculous.". Now backtrack 2 small examples on paper. Oh, look, the number of steps here grow, but these grow even faster! Especially mathematics when explained to a layperson so much depends on the language used. If one manages to keep the rest of the complexity zoo[1] out of the explanation and invests time into very basic examples, a lot things can be explained that otherwise the average person would not understand. [1] [LINK] EDIT: Looking for a video I stumbled upon last week that had a very nice, short explanati

Cites ColinWright · 2015-12 · on “Integer Factoring via Graph Three Colouring”

Because Graph Three Colouring[0][1] is NP-Complete[2][3] we can use it to solve any NP problem. Integer factoring is an NP problem[4] so we should be able to factor integers by using Graph Three Colouring. This post shows one way of doing that, and explains the techniques used to show directly that Graph Three Colouring is NP-Complete. [0] [LINK] [1] [LINK] [2] [LINK] [3] [this video] [4] [LINK]

Cites DonHopkins · 2019-04 · on “Do you believe in P = NP? – the 3. PollPaper [pdf]”

I took a class from Gasarch in the 80's at UMD. He's a freaky smart guy! I swear to God (and have said before [1]): He wore a t-shirt that said: "P=NP? I don't know, and I don't care!" How times have changed! [1] HN discussion: [LINK] of Scott Aaronson's article "My 116-page survey article on P vs. NP: better late than never": [LINK] Also: P vs. NP and the Computational Complexity Zoo [this video]

Cites PandaRider · 2026-07 · on “Markets are competitive if and only if P = NP”

I have taken algorithms courses. This video explains in detail: [this video] In short, P means Polynomial time (i.e. markets can solve computation problems efficiently) and NP means Non-Deterministic Polynomial time (i.e. markets can verify solutions of computation problems efficiently but solutions are found by luck). If P != NP, it means luck CANNOT be engineered and markets are competitive.