Question: algorithm design and analyze a) (7 points) Describe the design paradigm Dynamic Programming in your words. Which problem does it address? In which situations can

algorithm design and analyze algorithm design and analyze a) (7 points) Describe the design paradigm Dynamic

a) (7 points) Describe the design paradigm Dynamic Programming in your words. Which problem does it address? In which situations can it be used? b) ( 13 points) Design an algorithm for the knapsack-problem: Given an integer K and n integers 1s,s,K find a subset of S={s} such that the sum over these s, is exactly K (or determine that no such set exists)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!