P vs. NP and the Computational Complexity Zoo

hackerdashery4 HN recommenders · 2015–2026
3.7M views · explainer · evergreen · Uploaded 2014-08-26

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.

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

Watch on YouTube

8 comments from Hacker News

@ColinWright2015 · in “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] [VIDEO] [4] [LINK]

@austinl2016 · in “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?" [VIDEO]

RecommendsView on HN
@d232017 · in “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: [VIDEO]

RecommendsView on HN
@jlg232017 · in “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 explanation of P vs NP (which I did not find again), I found this one: Not lay-person simple, but very funny and also provides a cursory glance at what lies beyond P vs NP, i.e. the complexity zoo: [VIDEO] (10 min)

RecommendsView on HN
@sgrove2017 · in “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 - [VIDEO]

Strongly recommendsView on HN
@DonHopkins2019 · in “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 [VIDEO]

@sgrove2023 · in “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! [VIDEO]

Strongly recommendsView on HN
@PandaRider2026 · in “Markets are competitive if and only if P = NP”

I have taken algorithms courses. This video explains in detail: [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.