And when you have an optimal substructure and the local solutions overlap, that's when you can bring dynamic programming to bear.
当你得到一个最优子结构,但局部解决方案有重跌时,你就可以引入动态编程,来解决这个问题了。
So study this, master this pattern as well as the other patterns, and you really can master English step by step.
因此,学习掌握这个句型以及其他所有的句型,你就可以一步一步说一口流利的英语。
And so you get to build your own special purpose programming language that helped you solve your problems in biology or finance or whatever,
你读过的类型都可以,所以你就可以让编程语言按照你的,特殊用途去解决你的生物学,财务或者任何类型的问题,
Once you can see it and once you can step back from it, then you can also decide, "This pass is my filter. This pass is my constraint.
一旦你看到了它,一旦你能退一步思考它,你就能决定,这么走可以去伪存真,这么走会遇到困难。
If you knew only the third derivative of the function, you can have something quadratic in t without changing the outcome.
如果方程里有三阶导数,你就可以引入一个二次项,但是结果却不会变
You get a vaccine for chicken pox, it gets injected, and sometime later you're going to be protected against it.
当你拿到水痘疫苗,并注射入体内后,一段时间之后,你就可以免于感染
Anything where you're actually keeping track of something like a score that's having a variable that you increment -- plus, plus, or decrement, minus, minus, using the appropriate puzzle piece could certainly be compelling.
你需要保存像分数这样的事物时,你就需要一个变量,它可以自加,++,或者自减,要使用正确的拼图。
And from that, then you can look at enthalpies of reaction for countless numbers of reactions, right.
很多很多种化合物,利用这些你就可以研究,不计其数的反应的反应焓。
And once we have positive candidates we can apply them to the same pathway Shown on the right and hopefully get regeneration.
一旦有了这种稳定的替代物,你就可以实施右边显示的这项计划,进行批量的繁殖。
There are all sorts of things you can do once you can visualize something with fluorescence.
一旦你可以利用萤光看到某种东西,你就可以做很多事情。
So, when you see this object over here you categorize it as a chair and you recognize that you could probably sit on it.
当你看到这边的这件物体,你就把它划到椅子的类别下,然后你就知道你可以坐上去。
If you quantify how much they relate, then you could look at the correlation.
如果你可以量化二者有多相关,那你就可以考察相关性了
Then also you'll be asked to do identifying information if you print it out from the program itself, but if you go up to your web browser print option and print from that particular thing then you can do it and no identifying information will be necessary.
如果你想直接从网上打印分析结果,就得提供个人信息,但是,如果你用浏览器中的打印选项,只打印营养分析结果,你就可以打印文件而无需提交个人信息
You can answer to this question, someone says, "Well, what are you doing? Are you still here at school?"
当有人问你,“嗯……你在做什么呢?你还在学校吗?”你就可以回答了,
So, if you propagate that through the whole year, and you have the basic mastery of the concepts, 50 is a pass.
如果你一整年都在认真学,那你就可以掌握基本的概念,50分就可以通过。
Then would you be satisfied that this is the right way of thinking about the question?
这样你就满意了吗,这样思考这个问题就可以了吗?
Like in popular music there's often a couple of verses and a chorus and a bridge and you can predict each different movement of the piece, and that's more regular than-- Couldn't say it better myself.
就像在流行音乐中有很多的曲段,副歌,和过渡乐节,这样你就可以预测到音乐的每一个变化,这样就比别的要规则-,光我一个人不好说太细。
And you want this to continue. And then when you get older and you realize what the museum is about,
你希望这可以延续。当你长大了,你就意识到博物馆是关于什么的,
You just want to get the overall idea of what is being said so that you're able to respond. Ok?
你只是想了解人们所说的话的大意,那样你就可以做出回答了,对吧?
and then, from there, well yeah, have another round or so, and then yeah, you get an internship for the summer.
然后经过一或更多轮的赛选,你就可以找到暑期实习了。
You put some inputs in, it has a contract that says if you put the right kind of inputs in you'll get a specific output coming out, but you don't have to know what's inside of that box.
你可以将输入一些内容,它相当于一个条件合约,如果你的输入是正确的,你就能得到特定的输出,但是你不知道盒子里面有些什么。
You can really decide if you want to commit to it and work on it more or put it on a shelf for a later date.
你就可以决定,你是否想落实它,更多地为它努力或是暂时搁置它,以后再落实。
Suppose you could find 10,000 independent assets, then you could drive the uncertainty about the portfolio practically to 0.
假设你能找到一万项相互独立的资产,那么你就可以将这个投资组合的风险,降到几乎为零。
When you don't produce enough insulin yourself, as diabetics do not, then you can use insulin as a drug.
如果你的体内不能产生足够的胰岛素,例如糖尿病人,你就可以将胰岛素作为药物使用
And if you put this in the well-ventilated area, if you prepare this outside, the h c n gas will actually be released into the air, so you're safe, you can eat it later.
而如果你把它们放在通风良好的地方,在室外处理,那么氰化氢气体,将会被释放到空气中,这样你就安全了,过后就可以吃了。
If you have some plain text, some message that you want to send, well, you can encrypt it or you can scramble it using a key, a secret key, which might be a physical machine like the Enigma 13 or it might be a number like 13.
如果你有没有加密的文本,你想要寄送的一些消息,你就可以加密它,或者你可以用一个密钥使其变得混乱,那就像一个英格玛的物理装置,或者他就是一个数字。
And I would suggest palindrome as a great example of that. That's easy to think about recursively. It's much harder to think about iteratively. And you want to get into the habit of deciding which is the right one for you to use. And with that, we'll see you next time.
其它的问题可能用递归的方式,可以更好的解决,而直接思考可能很困难,这时你就得养成做出,正确选择的好习惯了,下周再见。
In the early days when there are four or five formulas, you could memorize all of them and you can try each one of them until something works, but after a couple of weeks you will have a hundred formulas and you cannot memorize all of them.
刚开始我们只会涉及到四,五个公式,你可以全部记下来,你可以一个一个试,直到解出答案,但过了几个星期,你就已经学了一百多个公式了,你没法全部记下来
应用推荐