M

Mr. Dubey • 100.69K Points
Coach

Q. Prim’s algorithm is a

  • (A) divide and conquer algorithm
  • (B) greedy algorithm
  • (C) dynamic programming
  • (D) approximation algorithm
Share

Explanation by: Mr. Dubey
prim’s algorithm uses a greedy algorithm approach to find the mst of the connected weighted graph. in greedy method, we attempt to find an optimal solution in stages.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics