Table of Contents

Dijkstra’s Shortest Path

Finds the shortest path in a graph with non-negative edge weights by repeatedly choosing the closest unvisited node.

Category: greedy
Loading...

Enjoy reading code with a tandem explainer?

Explain code with DocComment! Try out your own code!

Try DocComment