I have a universal set and number of sets S. i need to find maximum number of sets from S such that there is no common element between any choosen two sets.
My Approch--- I have consider each sets in S as a node and if there is any common element between two sets than there would be an edge between these two sets.this approach works fine if the constructed graph is bipartite .. i have difficulty to solve if constructed graph is not bipartite.
P.S.-choosen sets not necessarily be to cover all element from the universal set. it should return maximum number of sets that are no adjacent.
Thanks