Meta interview question

Check if a graph is bipartite