How Complexity Theory Can Save Your Job
summary
Builds an Amazon‑style co‑occurrence query and first tries a massive SQL join that crashes, then succeeds by generating a denormalized sales_relationships table in code (100k orders runs in ~2 hours). Shows that extending to three or more items becomes NP‑hard clique / factorial/exponential blowup, explains P vs NP vs NP‑complete, and recommends practical paths: greedy nearest neighbor and other heuristics, approximations and genetic algorithms that give good‑enough results instead of impossible exact solutions.
AI-written summary · about
chapters (6)
- 0:00Start
- 25:41LET'S TALK ABOUT THIS
- 27:00COMBINATORIAL OPTIMIZATION
- 31:03Prolog
- 33:51DECISION PROBLEMS
- 39:12MY LUCKY ALGORITHM DOESN'T EXIST
related talks
17mTheory matters: how to build a successful company by trusting theoreticians
51mFun with Algorithms
51mAlgorithms Demystified
57mFun with Algorithms
01h 01mSoftware Architecture, Team Topologies & Complexity Science
29mComplexity: The Crucial Ingredient in Your Kitchen
46mUniversal Patterns of Evolution
47mComplexity is a Sin
