Why is the complexity of BFS O(V+E) instead of O(E)? [duplicate]

后端 未结 3 937
清歌不尽
清歌不尽 2021-01-17 05:45
热议问题