And when you have an optimal substructure and the local solutions overlap, that's when you can bring dynamic programming to bear.
当你得到一个最优子结构,但局部解决方案有重跌时,你就可以引入动态编程,来解决这个问题了。
We need to think about solutions to this, right from the start of the class, and we already talked about something.
从一上课开始,我们就应该开始,思考这些问题解决方案,现在我们已经谈论了一些了
The heap offers us a solution to that problem.
堆就为那个问题提供了一个解决方案。
应用推荐