What is the primary difference between dynamic programming and divide and conquer?
-
Dynamic programming solves problems by breaking them into independent subproblems
-
Divide and conquer does not use recursion
-
Dynamic programming stores solutions to subproblems, while divide and conquer does not
-
There is no difference; they are the same