Bellmann ford algorithm provides solution for ____________ problems.

Bellmann ford algorithm provides solution for ____________ problems.
A. All pair shortest path
B. Sorting
C. Network flow
D. Single source shortest path
 
Answer: d
Explanation: Bellmann ford algorithm is used for finding solutions for single source shortest path problems. If the graph has no negative cycles that are reachable from the source then the algorithm produces the shortest paths and their weights.
 

Tìm kiếm

Back
Top