πŸ“Š Design and Analysis of Algorithms
Q. Kruskal’s algorithm is a
  • (A) divide and conquer algorithm
  • (B) dynamic programming algorithm
  • (C) greedy algorithm
  • (D) approximation algorithm
πŸ’¬ Discuss
βœ… Correct Answer: (C) greedy algorithm

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


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

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
79
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate