U4 - Limitations of Algo Power
U4 - Limitations of Algo Power
ALGORITHM
POWER
-BHASKAR H S
LOWER BOUNDS
• information-theoretic arguments
(decision trees)
• adversary arguments
• problem reduction
TRIVIAL LOWER BOUNDS
Examples
• finding max element
• sorting
Conclusions
• may and may not be useful
abc bac
yes no yes no
b< c a<c
• log23! = log2 6 = 3
- Classifying Problems
- Tractable and non-tractable
- Optimization and Decision Problems
- Problem Classes
-P
- NP
- NP Complete
CLASSIFYING PROBLEM COMPLEXITY
Examples:
• searching
• graph connectivity
• graph acyclicity
CLASS NP
NP-complete
problem
NP-complete
problem
NP-complete
problem