In Prim's algorithm, starting from an initial node, subsequent nodes are added…

In Prim's algorithm, starting from an initial node, subsequent nodes are added based on:

  1. A.

    Smallest edge weight connected to the node

  2. B.

    Largest edge weight connected to the node

  3. C.

    Any random edge weight

  4. D.

    Median edge weight connected to the node

Attempted by 418 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…