What is the average Big Oh time and space complexity of finding shortest path with BFS?

后端 未结 0 1543
长情又很酷
长情又很酷 2021-01-29 04:58

Suppose I have a set of connected nodes (undirected). Assume the edges do not have any weights. If I use BFS to find the shortest path from one node to another, what is the aver

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