Nepedia
Back to Discover
Developing Reader
🔢

P (complexity)

math Maturity 11-13 Next article →

Computers solve many puzzles. Some puzzles are fast to solve.

Complexity-classes-polynomial
Complexity-classes-polynomial

We call these fast puzzles P. They are easy for a machine. They do not take too long.

Finding if a number is prime is in P. This means a computer can do it fast.

Complexity subsets pspace
Complexity subsets pspace

Some hard puzzles are not in P. But many useful tasks are.

We use P to help us build good machines. It is a very helpful rule.

72 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (3)
File:Complexity subsets pspace.svg
Complexity subsets pspace.svg
File:Complexity-classes-polynomial.svg
Complexity-classes-polynomial.svg
File:Randomised Complexity Classes 2.svg
Randomised Complexity Classes 2.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.