Question

9. Identify which of these problems are NP-complete and which can be exactly solved using a...

9. Identify which of these problems are NP-complete and which can be exactly solved using a polynomial time algorithm

(a) Finding the vertex cover in a line graph

(b) Finding the maximum clique in a tree

(c) Finding the independent set in complete graph

(d) Finding the Hamiltonian cycle in a graph that has exactly one cycle

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

Answer;

Option (a).Finding the vertex cover in a line graph

Finding the vertex cover in a line graph NP-complete and which can be exactly solved using a polynomial time algorithm

Here,

Vertex cover in a line graph, maximum clique in a tree , independent set in complete graph and the Hamiltonian cycle in a graph that has exactly one cycle are NP-complete problems.

An algorithm is supposed to be solvable in polynomial time uncertainty the number of steps required to complete the algorithm for a given input is used for some non negative integer.

Polynomial-time algorithms are supposed to be fast and efficient. A polynomial is a combination of linear terms that look similar Constant * x^k.

If we needed a polynomial time algorithm we can solve all problems in NP in polynomial time.

Add a comment
Know the answer?
Add Answer to:
9. Identify which of these problems are NP-complete and which can be exactly solved using a...
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