liveBook · Manning

P

P is the complexity class of decision problems solvable by deterministic algorithms in polynomial time.

How 2 Manning books explain it

Optimization Algorithms: AI techniques for design, planning, and control problems

The complexity class of decision problems solvable in polynomial time by deterministic algorithms.

How it is used
Classifies decision problems by whether deterministic algorithms can solve them in polynomial time.
How deep it goes
Defines polynomial-time solvability and places P among hardness classes without developing proofs or algorithmic complexity analysis.
What you can do after
Evaluate whether a decision problem belongs to a polynomial-time complexity class.

Read how Optimization Algorithms: AI techniques for design, planning, and control problems explains p →

How Large Language Models Work

P is the complexity class of problems solvable by deterministic algorithms in polynomial time.

How it is used
Frames computational limits and prevents treating increasingly capable LLMs as able to overcome fundamentally hard problems.
How deep it goes
Defines complexity through input-size growth and contrasts polynomial with exponential behavior, without deriving formal class boundaries.
Examples
Uses linear programming, prime factorization, traveling salesman, and integer programming to contrast polynomial and exponential complexity.
What you can do after
Evaluate claims about computational capability by relating problems to input growth and complexity class.

Read how How Large Language Models Work explains p →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.