Question: Question 3 (7 marks) Design and write, in pseudocode, a backtracking algorithm that, given a graph G = (V, E) (V : vertices, E: edges)
Question 3 (7 marks) Design and write, in pseudocode, a backtracking algorithm that, given a graph G = (V, E) (V : vertices, E: edges) and an integer k, determines if there is a set of k vertices of G such that no two vertices in this set have an edge between them
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
