init commit
This commit is contained in:
17
archive/algorithm/leetcode/902.go
Normal file
17
archive/algorithm/leetcode/902.go
Normal file
@ -0,0 +1,17 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func eventualSafeNodes(graph [][]int) []int {
|
||||
ret := make([]int, 0)
|
||||
m := make(map[int]bool)
|
||||
for k, v := range graph {
|
||||
|
||||
}
|
||||
|
||||
return []int{}
|
||||
}
|
||||
|
||||
func main() {
|
||||
fmt.Println(eventualSafeNodes([][]int{[]int{1, 2}, []int{2, 3}, []int{5}, []int{0}, []int{5}, {}, {}}))
|
||||
}
|
Reference in New Issue
Block a user