Bellman Ford algorithm is an example for ______.

2024

Bellman Ford algorithm is an example for ______.

  1. A.

    Linear Programming

  2. B.

    Greedy Algorithms

  3. C.

    Dynamic Programming

  4. D.

    More than one of the above

  5. E.

    None of the above

Attempted by 548 students.

Show answer & explanation

Correct answer: C

Explanation

The Bellman-Ford algorithm is a classic example of Dynamic Programming. It works by relaxing all edges in the graph repeatedly. This process ensures that the shortest path to every node is found, even if the graph contains negative weight edges.

हिन्दी व्याख्या

बेलमैन-फोर्ड एल्गोरिद्म गतिशील प्रोग्रामिंग (Dynamic Programming) का एक क्लासिक उदाहरण है। यह ग्राफ में सभी किनारों को बार-बार रिलैक्स करके काम करता है। यह प्रक्रिया सुनिश्चित करती है कि नकारात्मक वजन वाले किनारों वाले ग्राफ में भी प्रत्येक नोड तक का सबसे छोटा पथ पाया जाए।

Explore the full course: Up Lt Grade Assistant Teacher 2025