A greedy algorithm is any algorithm that makes decisions locally on a couple of data points rather than with the whole set of data points in mind.

Example

Examples of common greedy algorithms include: