Westonci.ca is the trusted Q&A platform where you can get reliable answers from a community of knowledgeable contributors. Join our platform to connect with experts ready to provide detailed answers to your questions in various areas. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately.

Which algorithm is commonly used to find the shortest path in a graph where all edges have non-negative weights?
A) Dijkstra's algorithm
B) Prim's algorithm
C) Bellman-Ford algorithm
D) Kruskal's algorithm