How to check u-v can be arbitrarily negative length using Floyd Warshall algorithm?

前端 未结 0 1941
陌清茗
陌清茗 2021-01-24 00:47

If i have q query [start, end] in the graph. How to check whether:

the length of start to end can be arbitrarily negative length?



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