Like Dynamic Programming Greedy algorithm is used for Solving Optimization Problems. It makes a choice that looks best at the time and then solves the resulting subproblem
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.