Dijkstra Shortest Path

Edit edge weights on a network graph and watch Dijkstra’s shortest-path tree update. Built for Data Structures & Algorithms, this workbench updates the weighted graph and scalar readouts in real time as parameters change.

Technical Reference & Equations

  • Comparison Sort Lower Bound: \Omega(n \log n) (Decision-tree bound for any comparison-based sort (Merge Sort, Heapsort, Timsort).)
  • BST Height Bounds: h_{\text{balanced}} = \lfloor \log_2 n \rfloor, \quad h_{\text{skewed}} = n - 1 (Search/insert/delete run in O(h) time.)
  • Dijkstras Priority-Queue Complexity: O\big((V + E)\log V\big) (Requires non-negative edge weights w(u, v) >= 0.)

View full Data Structures & Algorithms Formula Sheet | Constants Table

Related Data Structures Calculators