YouTube

  • 1-tape TM: O(n log n)
  • Multi-tape TM: O(n)

Computability Theory: model independence Complexity Theory: model dependence

TIME Complexity Class

All reasonable deterministic models are polynomially related.

The Class P

Defn: = Polynomial time decidable language

  • Invariant for all reasonable deterministic models

Polynomial Time: Each stage is polynomial and the total number of steps polynomial

The Class NP