Dijkstra's Algorithm

Core Concept

Dijkstra's Algorithm is a greedy algorithm used to find the shortest path from a starting node to all other reachable nodes in a weighted graph. It strictly requires non-negative edge weights to function correctly.

Execution Steps

Visual Representation

Animation of Dijkstra's Algorithm expanding across a graph

Further Reading

For a mathematical proof and history, visit the Wikipedia page for Dijkstra's Algorithm.