Question: Give a polynomial time algorithm the following: Does G have a dominating set of size at most 2? [A dominating set D is a subset
Give a polynomial time algorithm the following: "Does G have a dominating set of size at most 2?" [A dominating set D is a subset of vertices such that every vertex in G is either in D or has at least one neighbor in D]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
