Algorithms Explained #4: Greedy Algorithms
Explanation of greedy algorithms with solutions to the fractional knapsack and coin change problems implemented in Python
Published in
4 min readOct 11, 2022
A greedy algorithm is often a practical way to finding a decent and elegant, though not always optimal, solution for optimization problems. It works by making a sequence of choices and…