这道题就是用Dijkstra 吗?# JobHunting - 待字闺中
p*2
1 楼
Given an undirected graph G having N (1 weights. Find the shortest path from vertex 1 to vertex N, or state that
such path doesn't exist.
区别是这个是undirected。解法一样吗?
such path doesn't exist.
区别是这个是undirected。解法一样吗?