

InterviewSolution
Saved Bookmarks
1. |
For which of the following, greedy algorithm finds a minimal vertex cover in polynomial time?(a) tree graphs(b) bipartite graphs(c) both (a) and (b)(d) none of the mentionedI got this question at a job interview.This question is from Node-Cover Problem, Hamilton Circuit Problem topic in section Intractable Problems of Automata Theory |
Answer» CORRECT ANSWER is (a) TREE graphs The best explanation: For bipartite graphs, Konigs theorem ALLOWS the bipartite vertex problem to be SOLVED in polynomial time. |
|