Week 5 Discussion Forum

Greedy Algorithm with it's Advanteges

Greedy Algorithm with it's Advanteges

by Zafrin All Mustary -
Number of replies: 0

A greedy algorithm is an approach for solving a problem by selecting the best option available at the moment, without worrying about the future result it would bring. In other words, the locally best choices aim at producing globally best results. This algorithm never goes back to reverse the decision made. This algorithm works in a top-down approach.

The main advantage of this algorithm is:

  1. The algorithm is easier to describe.
  2. This algorithm can perform better than other algorithms.

79 words