Versions in this module Expand all Collapse all v3 v3.0.1 Nov 3, 2022 Changes in this version + func BipartiteCheck(N int, edges [][]int) bool + type Color int + type Graph struct + func (g *Graph) AddEdge(one, two int) + func (g *Graph) AddVertex(v int) + func (g *Graph) ColorUsingBFS() (map[int]Color, int) + func (g *Graph) ColorUsingBacktracking() (map[int]Color, int) + func (g *Graph) ColorUsingGreedyApproach() (map[int]Color, int) + func (g *Graph) TryBipartiteColoring() map[int]Color + func (g *Graph) ValidateColorsOfVertex(colors map[int]Color) error