InterviewSolution
Saved Bookmarks
| 1. |
Bellmann Ford Algorithm is an example for ____________(a) Dynamic Programming(b) Greedy Algorithms(c) Linear Programming(d) Branch and BoundI have been asked this question in final exam.My question is taken from Shortest Path in chapter Shortest Path of Data Structures & Algorithms II |
|
Answer» CORRECT OPTION is (a) Dynamic Programming For EXPLANATION: In Bellmann Ford Algorithm the SHORTEST paths are calculated in bottom up manner which is similar to other dynamic programming problems. |
|