Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStats

Categories

🤖 Artificial Intelligence
☁️ Cloud and Infrastructure
💾 Data and Databases
💼 Professional Skills
🎯 Programming and Development
🔒 Security and Networking
📚 Specialized Topics
HomeAboutTopicsPricingMy VaultStats
LEVEL 0
0/5 XP
GitHub
© 2026 CheatGrid™. All rights reserved.
Privacy PolicyTerms of UseAboutContact

Complexity Theory and Computability Cheat Sheet

Complexity Theory and Computability Cheat Sheet

Back to Mathematics and Algorithms
Updated 2026-05-19
Next Topic: Data Structures Cheat Sheet

Complexity theory classifies computational problems by the resources required to solve them—time, space, randomness, or interaction—and studies the relationships between these classes. Computability theory asks a more fundamental question: which problems are solvable at all? Together they form the mathematical bedrock of theoretical computer science, underpinned by the unresolved P vs NP question (a Millennium Prize Problem), landmark results like the Cook-Levin theorem and Savitch's theorem, and a rich hierarchy of classes from L and NL through PSPACE and EXPTIME to the undecidable.

What This Cheat Sheet Covers

This topic spans 16 focused tables and 262 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Foundational Complexity ConceptsCore Time and Space Complexity ClassesNP-Completeness and NP-HardnessPolynomial-Time ReductionsKey NP-Complete and NP-Hard ProblemsComputability and DecidabilityFamous Undecidable ProblemsHierarchy Theorems and Key Structural ResultsThe Polynomial HierarchyProbabilistic and Randomized Complexity ClassesOracle Machines and RelativizationCounting ComplexitySpace Complexity and Logspace ClassesAdvanced Complexity TopicsArithmetical HierarchyReferences

Foundational Complexity Concepts

ConceptExampleDescription
Decision problem
Is graph G 3-colorable?
Problem with a yes/no answer; the standard model for complexity classification
Search problem
Find a 3-coloring of G
Asks for an explicit witness; often reducible to the decision version
Optimization problem
Minimize TSP tour length
Asks for the best solution; typically harder than the decision analog
Tractable problem
Sorting, shortest path (Dijkstra)
Solvable in polynomial time; considered "efficiently computable"
Intractable problem
General TSP (optimization)
No known polynomial-time algorithm; believed to require super-polynomial time

More in Mathematics and Algorithms

  • Combinatorics Cheat Sheet
  • Data Structures Cheat Sheet
  • Algebra Cheat Sheet
  • Descriptive Statistics Cheat Sheet
  • Graphs Cheat Sheet
  • Number Theory Cheat Sheet
View all 37 topics in Mathematics and Algorithms