Question

In dynamic programming, what is the purpose of the "bottom-up" approach?

A Starting with the smallest subproblems and building up to the final solution Correct Answer Incorrect Answer
B Starting with the largest subproblems and breaking them down into smaller subproblems Correct Answer Incorrect Answer
C Solving the problem directly without breaking it into subproblems Correct Answer Incorrect Answer
D Repeating the problem multiple times Correct Answer Incorrect Answer

Solution

Starting with the smallest subproblems and building up to the final solution

Practice Next

Relevant for Exams:

×
×