我一直在这个链接上进行 广度优先遍历
现在如果把图结构改成这样
节点 3 现在与图形断开连接。现在使用遍历程序时,它不显示顶点 3。有没有办法我们也可以显示这个顶点?
c++ algorithm graph breadth-first-search data-structures
algorithm ×1
breadth-first-search ×1
c++ ×1
data-structures ×1
graph ×1