Q. Dijkstra’s Algorithm is the prime example for

  • (A) greedy algorithm
  • (B) branch and bound
  • (C) back tracking
  • (D) dynamic programming
πŸ’¬ Discuss
βœ… Correct Answer: (A) greedy algorithm
Explanation: dijkstra’s algorithm is the prime example for greedy algorithms because greedy algorithms generally solve a problem in stages by doing what appears to be the best thing at each stage.

Explanation by: Mr. Dubey
dijkstra’s algorithm is the prime example for greedy algorithms because greedy algorithms generally solve a problem in stages by doing what appears to be the best thing at each stage.

πŸ’¬ Discussion

πŸ“Š Question Analytics

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