bfs水题, 可以练一下切片的使用
1 | func findWhetherExistsPath(n int, graph [][]int, start int, target int) bool { |
bfs水题, 可以练一下切片的使用
1 | func findWhetherExistsPath(n int, graph [][]int, start int, target int) bool { |
Author: Qin Peng
License: Copyright (c) 2020 BY QPWLKQ LICENSE
Slogan: 每一个不曾起舞的日子, 都是对生命的辜负