Is Graph Bipartite
Given an undirected graph, determine whether its vertices can be split into two groups so every edge joins different groups.
Given an undirected graph, determine whether its vertices can be split into two groups so every edge joins different groups.