1.

An exact cover problem can be represented using:(a) incidence matrix(b) bipartite graph(c) both (a) and (b)(d) none of the mentionedI got this question in an interview for internship.My question is based upon Node-Cover Problem, Hamilton Circuit Problem topic in chapter Intractable Problems of Automata Theory

Answer»

Correct choice is (c) both (a) and (b)

Easiest explanation: The relation ‘contains’ can be represented using a bipartite GRAPH. The vertices of the graph can be divided into two DISJOINT sets, one representing the subset S and the other representing the ELEMENTS of P and one edge for each subset in S;each node is included in EXACTLY one of the edges forming the COVER.



Discussion

No Comment Found

Related InterviewSolutions