Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能告诉我Dijkstra和Prim算法之间的区别?我知道每种算法的作用。但它们在我看来是一样的。Dijkstra 算法存储最小成本边的总和,而 Prim 算法最多存储一个最小成本边。这不一样吗?