And when you have an optimal substructure and the local solutions overlap, that's when you can bring dynamic programming to bear.
当你得到一个最优子结构,但局部解决方案有重跌时,你就可以引入动态编程,来解决这个问题了。
finding a way to solve problems for the leaders of all industries across the world.
可以为全世界各个行业的领导人物寻找解决方案。
The notion here is that you can get a globally optimal solution from locally optimal solutions to sub-problems.
这里的概念是你可以通过,子问题的局部最优方案,得到全局优化解决方案。
We need to think about solutions to this, right from the start of the class, and we already talked about something.
从一上课开始,我们就应该开始,思考这些问题解决方案,现在我们已经谈论了一些了
So, an alternative to that that is incredibly common in just the programming world and in industry is to actually not write programs on your own personal computer but to actually write and run them on a server, someplace where the software is all standardized.
那么,在编程界和工业界普遍,使用的一个解决方案是,不在你自己的电脑上写程序,而是在服务器上编程运行,服务器上的软件都是标准化的。
Why isn't this a solution?
为什么还不能算作一种解决方案呢
What caused it? It was caused maybe it's oversimplifying it it was caused by a change in our resolve to let's get inflation under control - and a willingness to accept the recession to stop the advance of inflation.
是什么引发了它,它是因为-也许过分的单纯化它,它是由于一个为了,让我们将通货膨胀控制在手中的解决方案,和一个接受经济衰退的愿望,结束通货膨胀的继续上涨所导致的。
It actually takes several chapters to reach a resolution, and God pouts for quite a while, but a renewal of the covenant does occur, and another set of stone tablets is given, and according to one rabbinic text the broken tablets, as well as the new tablets, are both placed in the ark .
有很多章节描述了达成解决方案,上帝生气了很久,但是更新的契约出现了,上帝给了另一块石法板,一部犹太教义的文本显示,破碎的石法板,和新的石法板,都放在藏经柜中。
Perhaps you could start your resolution by finding the source of the problem.
也许你可以通过寻找问题的起源来找到解决方案。
That was an interesting situation where the project of one group of students was in fact a great solution for the product of another group of students.
这种情况很有趣,一组学生的项目,实际上就是另一组学生,推出的产品的解决方案。
So I don't know if part of the solution has to be exposure?
所以我想知道,让人们感受到贫困,是否也是解决方案的一部分?
So what is shown here is the potential solution to potentially read out neural signals dragged from the brain and use these signals after some interpretations or decrypting if you will to drive prosthetic arms or computer cursors on the screen.
大家现在看到的是一种可能的解决方案,有助于解读病人大脑发出的神经信号,同时在经过翻译或者解码之后,使用这些信号,驱动假臂,或者电脑屏上的光标。
where I'll be working with their integrated customer solutions
从事集成客户解决方案方面的工作,
STUDENT: So, how do you come to a conclusion as to which you should use then, if you can determine the size based on solution, or based on input, so how do you decide?
学生:所以,你怎样决定你该用,哪个来算呢?现在如果你可以选择是,基于解决方案的大小,还是基于输入的大小,你应该怎样决定呢?
So in this case, the communication worked but am I right in thinking that the communication isn't such an instant solution as it was in the game we saw last time?
在这个博弈中,交流起到了作用,但是能说这和上一讲的博弈一样吗,交流并没能直接给出解决的方案
So what's the solution?
所以我们的解决方案是什么呢?
Optimal sub structure.
简单一点的子问题的最优方案来解决问题。
So it turns out there's a solution to this: If you need more precision, more digits after the decimal point than a float allows, what do you go for instead?
所以这里有一个解决方案:,如果你需要比float类型允许的更高精度,小数点后更多位数,那你该用什么取代它?
So I have two solutions here; one, what would be sort of the obvious sort of hackish or solve it fast solution?
我这里有两个解决方案,一是有没有一个明显的,独创性的,快速地解决方案?
We call that a base case. It's basically the simplest possible solution to the problem.
我们说这是一个基础案例,这是这个问题最简单的解决方案。
I want to try to understand in that lecture-- help us to understand how this works and how we're getting solutions--possible solutions to these problems.
在那节课我会,帮助大家了解这是如何发挥作用的,以及我们是如何找到,可行性方案来解决目前的问题
Why isn't that the solution to gene therapy?
但病毒为什么不是基因治疗的解决方案呢
Well, if intuitively the problem is the result of dividing an int by an int, surely a solution is: "Don't do that," right?
好的,直观地看,如果那个问题的原因是因为整型数除以整型数的话,无疑有个解决方案是:“不要那样做“,是吗?
On Tuesday we'll talk about a different way to implement Fibonacci, where the growth will be much less dramatic. Thank you.
周二我们将会讲一种,不同的Fibonacci数列解决方案,这个方案的增长会小得多,谢谢。
Now incidentally I'm writing a book the title of the book is Subprime Solution; I just sent off the draft to the copy editor last Friday.
顺便提一句,我正在写一本书,名叫《次贷危机解决方案》;,上周五我刚刚将草稿送到文字编辑手中。
So, thankfully, C does provide a solution for this, whereby, I can provide a hint, essentially, to the compiler.
幸亏,C为这个提供了一个解决方案,那样,本质上,我可以给编译器一个提示。
> Indeed. So there is a solution and that is the solution.
>,的确,这里有解决方案,那就是一个解决方案。
But it is a solution to this problem.
但这个是问题的一个解决方案。
So yes, f is a float, but that solution is too late; we need to fix the problem sooner.
是的,f是一个浮点数,但是那个解决方案太迟了;,我们应该在次之前把问题解决。
The solution is so simple, give us $2, we'll give you a ticket and yet it takes nine steps to do that.
解决方案也简单,给我们2美元,我们将给你一张票,但是你需要9个步骤来处理。
应用推荐