Greedy Method
A common strategy used to solve problems. Useful in solving optimization problems, the problems which require minimum or maximum result.
Optimizations problems can be solved using the below approaches: * Greedy Method * Dynamic Programming * Branch and Bound
Greedy Method
- While looping over stuff, check if it is feasible solution to the problem.