Greedy Algorithms
A greedy algorithm is a problem-solving strategy that builds up a solution piece by piece always choosing the option that looks best right now, without worrying about the future consequences of that choice. The word "greedy" is apt: the algorithm grabs the most attractive option at each step, pocke...