Dijkstra’s Algorithm & Prim's Algorithm