SnowScriptWinterOfCode / LeetCode_Q

Solve with us the most mind boggling DSA questions to ace your skills
2 stars 50 forks source link

0/1 knapsnack #625

Open Samtoosoon opened 7 months ago

Samtoosoon commented 7 months ago

A question based on dynamic programming where the memorisation approach is explained and an answer of an often asked question why greedy algorithm cannot be used in 0/1 knapsnack is also explained.