Skip to content

Commit

Permalink
fix: fix HasCycle docs dictation
Browse files Browse the repository at this point in the history
  • Loading branch information
kiarash8112 committed Oct 26, 2023
1 parent 4163638 commit 48a3245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graph/cycle.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}{}
Expand Down

0 comments on commit 48a3245

Please sign in to comment.