Dynamic Programming - Knapsack, StringDistance