Create Dynamic Programming vs Greedy