Maximal Independent Set Independent Set (IS): In a graph, any set of nodes that are not adjacent Maximal Independent Set (MIS): An independent set that is no subset of any…