Skip to content

Glossary: Algorithms Beyond the Basics

Dijkstra's algorithm

Also written: Dijkstra

An algorithm that finds the fastest route from a start to every other place by always handling the closest unhandled place next, using a min-heap. It needs edge weights of zero or more.

Where the book teaches it

Related terms

Relaxing an edgeStale entryMin-heapNegative weightShortest path