How Does Dijkstra’s Algorithm Work?