Dijkstra time complexity with C++ pq

前端 未结 0 1933
自闭症患者
自闭症患者 2021-01-30 02:59

Dijkstra time complexity is O(V+ElogV) with binary heaps.

But, C++ pq(if used as binary heap), does not support decrease key. One solution suggested is to just insert the

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