dijkstras Dijkstra's algorithm Ruby code Dijkstra's algorithm is an algorithm for finding the shortest paths between nodes in a graph. Example: https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm