Week 5 Discussion Forum

Brief of Greedy Algorithm

Brief of Greedy Algorithm

by hafiz 191-15-2343 -
Number of replies: 0

An algorithm is designed to achieve optimum solutions for a given problem. In the greedy algorithm approach, decisions are made from the given solution domain. As being greedy, the closest solution that seems to provide an optimum solution is chosen.

Greedy algorithms try to find a localized optimum solution, which may eventually lead to globally optimized solutions. However, generally greedy algorithms do not provide globally optimized solutions.


67 words