Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 363 Bytes

Dijkstra's Algorithm.md

File metadata and controls

19 lines (12 loc) · 363 Bytes

[[Graph and Networking Algoriithms]]

Dijsktra's algorithm

Dijkstra's shortest path algorithm. Finds the shortest path between two nodes after trying all the possible combinations. Works for positive lengthed edged graphs.

![[Image for Dijkstra's algorithm.png]]

A 0 A
B 7 A
C 12 A
D 16 B
E 20 D
F 17 D

#algorithms #networking