將圖的每條邊分配到兩種顏色類別之一(通常指定為“紅色”和“綠色”)。
更多嘗試
Weisstein, Eric W. “圖的二著色。” 來自 Web 資源。 https://mathworld.tw/GraphTwo-Coloring.html