Divide Nodes Into the Maximum Number of Groups
Each connected piece needs a bipartite layering; the best start node in a piece gives its most groups, and the pieces add up.
Each connected piece needs a bipartite layering; the best start node in a piece gives its most groups, and the pieces add up.