7.2 Dynamic Programming Flashcards

(2 cards)

1
Q

Differences between divide & conquer and dynamic programming?

A

Divide & Conquer:
Top-Down
Recursively divides the input into disjoint subinstances
Often for decision of computation problems

Dynamic Programming:
Bottom-Up
Divides the instance into overlapping subinstances
Solutions to subinstances are stored, not recomputed
Often for optimisation problems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly