Question

Prove this is NP Complete, or it is in P. This problem is a variant of UNDIRECTED HAMILTON PATH in bounded-degree graphs The language in question is the set of all triples (G, s, t) for which G is an undirected graph with maximum degree at most 2 containing a Hamilton path from node s to node

0 0
Add a comment Improve this question Transcribed image text
Answer #1

for the proof of Np-completeness we first show it belong to NP by certificate

certifiacte is the set of N vertices

now A problem is said to be in Np is if a solution verified in polynomial time.

in our case praposed solution is list of vetices

to check the solution 1 check all vertices are there or not and vertices are connected by an edge and last vertices are connected to 1 by an edge

so this give us order of n because there are n vertices and we have to check n edges so this can be done in polynomial time

Add a comment
Know the answer?
Add Answer to:
Prove this is NP Complete, or it is in P. This problem is a variant of...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT