Skip to content

Commit 8a09d6b

Browse files
authored
chore: remove commented code
1 parent 12a2fcc commit 8a09d6b

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

graphs/depth_first_search/depthfirstsearch.go

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -44,27 +44,3 @@ func Dfs(start, end int, nodes []int, edges [][]bool) ([]int, bool) {
4444
}
4545
return nil, false
4646
}
47-
48-
// func main() {
49-
// nodes := []int{
50-
// 1, 2, 3, 4, 5, 6,
51-
// }
52-
// /*
53-
// sample graph
54-
// ①-②
55-
// | |
56-
// ③-④-⑤-⑥
57-
// */
58-
// edges := [][]bool{
59-
// {false, true, true, false, false, false},
60-
// {true, false, false, true, false, false},
61-
// {true, false, false, true, false, false},
62-
// {false, true, true, false, true, false},
63-
// {false, false, false, true, false, true},
64-
// {false, false, false, false, true, false},
65-
// }
66-
// start := 1
67-
// end := 6
68-
// route, _ := dfs(start, end, nodes, edges)
69-
// fmt.Println(route)
70-
// }

0 commit comments

Comments
 (0)