🖨️ Printing Instructions: Press Ctrl/Cmd + P and select "Save as PDF".
1

P, NP, and the Limits of Computation

2

Learning Goals

3

Computational Models

4

Algorithm vs Problem

5

Decision Problems

6

The Class P

7

Polynomial Time

8

Examples of P

9

The Class NP

10

Nondeterminism from standard view

11

Verifier Definition (Standard)

12

Example: Hamiltonian Cycle

13

Example: Sudoku

14

Example: Factoring

15

P vs NP

16

Interactive Demo

17

Relationship

18

The Big Question

19

Millennium Prize

20

Class EXP

21

Exponential Time

22

Co-NP

23

Definition

24

Relationship

25

Examples Comparison

26

Shortest Path vs Longest Path

27

Eulerian vs Hamiltonian

28

2-SAT vs 3-SAT

29

Practice Problems

30

Problem 1

31

Problem 2

32

Problem 3

33

Common Pitfalls & Anti-Patterns

34

Watch Out For...

35

Lecture Summary

36

Supplementary Resources