Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 250 Bytes

File metadata and controls

17 lines (9 loc) · 250 Bytes

图(Graph)的遍历 - 广度优先遍历(Breadth-First-Search)

...

  • 时间复杂度:O(V + E)
  • 空间复杂度:O(V)

图的广度优先遍历 Java 实现

...

图的广度优先遍历应用:最短路径

...