How does Breadth First Search find shortest path from source vertex to destination vertex?

前端 未结 0 1558
余生分开走
余生分开走 2020-11-30 00:18

I was told that BFS can give you the shortest path from the source vertex to the destination vertex, which makes sense since you traverse the adjacent nodes. However, I do n

相关标签:
回答
  • 消灭零回复
提交回复
热议问题