NP-Completeness Definition
Definition: A decision problem A is NP-complete if
Example: Spanning tree of degree 4 is NP-complete.
- Spanning tree of degree 4 is in NP.
- Hamiltonian path is a known NP-complete problem.
- Hamiltonian path is polynomial time reducible to spanning tree of degree 4.