Greedy algorithms

Greedy algorithms