0/1 knapsack — Dynamic Programming Note & Code Template | DSAPatterns | DSAPatterns