24届第一次参加笔试,两题都没做出来一、拓扑图求路径数输入一个二维数组表示图,输出从起始点到终点可能的路径数 package main import "fmt" var res int func main() { var nodes [][]int nodes = append(nodes, []int{1, 2, 3}) nodes = append(nodes, []int{3}) nodes = append(nodes, []int{3}) nodes = append(nodes, []int{4}) nodes = append(nodes, []int{}) dfs(0, nod...