What is the greedy algorithm method?
The Greedy Algorithm is another approach that is often used to design algorithms for solving. In contrast to dynamic programming, however, Greedy algorithms do not always yield a genuinely optimal solution. Even for problems which can be solved exactly by a greedy algorithm, establishing the correctness of the method may be a non-trivial process. Thanks for using ChaCha!