v103 Oct 2026abhydesai5 min 21 secab97bbc
First published version.
1 view0 likes on this version
In Episode 01 of P vs NP Explained, we start with one small problem, subset sum: given six numbers and a target of nine, do some of them add up to it? A short Python program answers it two ways. One function searches through the subsets, and there can be two to the n of them. The other is handed a proposed answer and checks it in one pass. P and NP are the names for those two jobs, and the open question is whether every answer that can be checked quickly can also be found quickly.
You'll learn how to:
This video is for developers who have heard the terms and want them defined properly. No background in complexity theory is needed, and the code runs from the companion repo.
ab97bbcFirst published version.