Computer science Computational complexity: resources and classes Concept
Time complexity
Summary
The time complexity of an algorithm is the number of elementary steps it takes, as a function of the length of its input. Usually one takes the worst case over all inputs of a given length. It is stated up to constant factors with big O notation, such as , or . The time complexity of a problem is that of the fastest algorithm solving it, and it defines classes such as and P. Time is the main resource studied in computational complexity theory.
Where this leads
12 pages build on this one.
- Analysis of algorithms
- Lenstra's algorithm for integer programming in fixed dimension
- Complexity class
- Time hierarchy theorem
- Strongly polynomial algorithm for linear programming
- Polynomial-time submodular minimization
- Polynomial-time reduction
- NP
- EXPTIME
- Parameterized complexity
- P
- Khachiyan's theorem that linear programming is in P
Further reading
About this page
| Tag | T00W8RQT8E |
|---|---|
| URI | m2://T00W8RQT8E |
| Kind | concept |
| Writing | W0 stub |
| MSC | 68Q25, 68Q15, 68W40 |
| Same as | |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
Used by
- Analysis of algorithms
- Lenstra's algorithm for integer programming in fixed dimension
- Complexity class
- Time hierarchy theorem
- Polynomial-time submodular minimization
- Polynomial-time reduction
- NP
- EXPTIME
- Parameterized complexity
- P
- Khachiyan's theorem that linear programming is in P