Greedy Algorithms
An algorithm is designed to find the best solution to a given problem. The greedy algorithm approach makes decisions based on the given solution domain. As a greedy person, the closest solution that appears to provide the best solution is chosen. Greedy algorithms seek a locally optimised solution, which may eventually lead to globally optimised …