Does this BFS-based algorithm work for find shortest path in weighted graph

后端 未结 0 924
不思量自难忘°
不思量自难忘° 2020-12-10 14:59

I know that plain BFS search can be used for find shortest path in unweighted graph or graph with same edge weight, and Dijkstra should be used in weighted graph, and Dijkst

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