Question: Problem 2 ( 2 8 points ) . Please answer the following: ( i ) Bob says that for each positive integer ( k
Problem points Please answer the following:
i Bob says that for each positive integer k every graph with more than k edges fails to have a vertex cover of size less than or equal to k Is he correct?
ii Given a graph GV E and a positive integer k the algorithm below determines whether G has a vertex cover of size less than or equal to k
: quad Go to line ;
: end if
: end while
: Determine by brute force whether G has a vertex cover of size less than or equal to k ;
Please explain why it is correct to return no in line
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
