Skip to content
START WITH A QUESTION

What would you like to understand?

Find an answer. See the moment it becomes clear. Follow the idea further.

← Concept directory

Answers for “在动态规划中,最优子结构意味着什么?”

1 keyword matches

Understanding your question. You can explore the search results below now.

Find a method

↗

To determine if a problem can be solved with dynamic programming, first try to solve the problem recursively. Then check whether divide-and-conquer style decomposition works, and whether breaking the problem down to the simplest subproblem can eventually build up to the optimal solution.

Conditions: You are trying to decide whether a problem is suitable for dynamic programming.