Greedy algorithms

shape