Math · Intermediate · Lesson 4 of 7
Hard Problems
The travelling salesperson and P vs NP
An interactive lesson with 7 steps, about 6 minutes: you predict, drag and solve, with instant feedback on every answer. It runs in your browser and needs JavaScript.
What you’ll learn
- Brute-force route planning grows like , hopeless for large .
- P: quickly solvable. NP: quickly checkable.
- Whether P = NP is a famous open problem with a $1 million prize.
Steps
- Route planning
- Twenty cities
- P versus NP
- Why it matters
- NP-complete
- Brute force versus the universe
- Good enough