P vs. NP and the Computational Complexity Zoo
hackerdashery4 HN recommenders · recommended in 5 months, 2015–2026
explainer · intro · evergreen · 2015–2026 on HN
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.
Up next
1 mo on HNCompiling and Optimizing Scripting Languages
Google TechTalks
1 HN recommend · 2011–2020
5 mo on HNSimon Peyton Jones: Data Parallel Haskell
nuACM
5 HN recommender · 2010–2017
1 mo on HNLucas Cavalcanti & Edward Wible - Exploring four hidden superpowers of Datomic
ClojureTV
1 HN recommend · 2015–2024
12 mo on HNReverse emulating the NES to give it SUPER POWERS!
suckerpinch
12 HN recommender · 2018–2025
4 mo on HNRustLatam 2019 - Without Boats: Zero-Cost Async IO
Rust Programming Language
5 HN recommender · 2019–2020
10 mo on HNConway's Game Of Life in APL
Dyalog
11 HN recommender · 2010–2024
9 mo on HNRSA ANIMATE: Changing Education Paradigms
Royal Society of Arts
10 HN recommender · 2011–2026
4 mo on HNPractical Common Lisp
Google TechTalks
3 HN recommender · 2011–2025
18 mo on HNRuby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich
Confreaks
17 HN recommender · 2013–2026
9 mo on HN28c3: The Science of Insecurity
28c3
9 HN recommender · 2012–2024
8 mo on HN"Propositions as Types" by Philip Wadler
Strange Loop Conference
9 HN recommender · 2015–2026
7 mo on HNBreak Me00 The MoVfuscator Turning mov into a soul crushing RE nightmare Christopher Domas
Adrian Crenshaw
6 HN recommender · 2017–2026
8 comments from Hacker News
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
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
> 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: ▶ this video (10 min)
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
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
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.
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
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