Transform any graph to bipartite graph

2.9k Views Asked by At

Is there any method which can transform any graph to bipartite graph? For example, if I were given a graph, in order to make it to become bipartite, I can delete vertices which lie in the two vertices sets so that I obtain two sets of vertices with no edge within the set.

1

There are 1 best solutions below

0
On BEST ANSWER

A natural way to turn a graph into a bipartite graph is to subdivide each edge, i.e., replace each edge by a path of length $2$.