Dijkstras Algorithm gives the shortest distance from the origin to the destination node in a network. A visualization of this method gives a good understanding of the steps involved. Visualizations like here, serve as a powerful way to learn once and remember always.