🟠 Dijkstra — Single-Source Shortest Path Full Demo
Shortest Path O((V+E)logV) Step 0/11
📊 Graph (directed weighted graph, starting from node 0)
🗂 Data Structures
Priority Queue
dist[] Shortest Distance
Settled
Time: O((V+E)logV)
Space: O(V+E)
💻 Code
HintClick Next Step ▶ to start and observe the priority queue, dist array, and code highlight update in sync.
0/11

Keyboard: Next   Prev   R Reset