Introduction to Greedy Algorithms

AlgorithmsData StructureGreedy Algorithm

Greedy algorithm is designed to achieve optimum solution for a given problem. In 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.

In this Section We are going to cover −

Published on 09-Oct-2018 17:22:05