diff --git a/graph/cycle.go b/graph/cycle.go index ef6ebe5ae..cf45d1854 100644 --- a/graph/cycle.go +++ b/graph/cycle.go @@ -6,7 +6,7 @@ package graph func (g *Graph) HasCycle() bool { - //this implimetation refered as 3-color too + //this implimetation referred as 3-color too all := map[int]struct{}{} visiting := map[int]struct{}{} visited := map[int]struct{}{}