What is the main difference between dynamic programming and divide and conquer?
-
Dynamic programming solves problems by breaking them into independent subproblems
-
Divide and conquer uses memoization
-
Dynamic programming solves problems with overlapping subproblems
-
There is no difference