Britannica AI Icon

Quick Summary

A polynomial-time algorithm is a type of algorithm whose execution time is bounded by a polynomial function of the input size. This means that as the input size (n) grows, the number of steps required by the algorithm increases at a rate that is a power of n, such as n², n³, etc..12

Algorithms that can be solved in polynomial time are considered efficient or "tractable". This is in contrast to algorithms with exponential time complexity, where the execution time grows much more rapidly with the input size, making them "intractable" for large inputs. The P versus NP problem, a major question in computer science, explores whether all problems whose solutions can be quickly verified (NP problems) can also be quickly solved (P problems).321

Summary created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

Ask Britannica AI about this topic

Britannica doesn't have a full article on this topic, so we've curated a list of our relevant coverage.