And when you have an optimal substructure and the local solutions overlap, that's when you can bring dynamic programming to bear.
当你得到一个最优子结构,但局部解决方案有重跌时,你就可以引入动态编程,来解决这个问题了。
when you feel upset or when you feel frustrated that something is not going the way that you wish it would.
当你觉得很失落,或者当你因为事情不像你期望的那样进展而感到沮丧时,你也可以使用这个句型。
Have the computational hygiene, if you like, to only go through accessors, only go through methods that are actually provided to you as you do this.
请大家注意计算卫生,如果你喜欢这么说的话,只通过访问器访问数据,当你访问数据的时候,通过提供给你的方法来访问。
So when you operate on the wave function, what you end up with is getting the binding energy of the electron, and the wave function back out.
所以当你将它作用于波函数时,你得到的是电子的结合能,和后面的波函数。
When you want a point particle, if you wake up and find a point particle on your bed, what's your reaction?
当你想要一个质点,想当你醒来时发现一个质点在你的床上,你是什么反应
Typically, when there's something which is unclear you'll fill in the gap and figure out what the word is.
通常当你听到某些不清楚的单词时,你会填入间隔,并确认那个词是什么
When we get to the spell checking, the dictionary assignment, when you're actually manipulating text files, maybe writing some output, these lower level details that actually empower you to solve problems properly.
当你检查拼写时,字典查询,当你熟练运用这些文本文件时,可能是写一些输出文本,这些小细节,恐怕可以帮助你合理解决问题。
What was important when reading, starting out with a new book, asking yourself, ? what question is the author trying to answer?
当你阅读时,什么是重要的,当你开始读一本新书,问问你自己,作者试图要解答的问题是什么?
And what I'm imagining is how you're going to respond to these words in this order.
我会想象,当你看到这一连串文字时,你会作何反应。
As each year goes by, you accumulate economic shocks, shocks to your human capital, shocks to what you own as you get older.
随着年龄增长,你不断遭受经济冲击,对人力资本的冲击,当你一天天长大,你一天天遭受冲击。
Anybody If you have withdrawals after eating a certain type of food for a long time.
有人回答吗,当你长期吃某种食品,某天你不吃了
So, the guys in the back turn and run, which is the only thing you can possibly do once you feel our phalanx is broken.
然后,后面的人转过身去,夺路而逃,当你感到方阵快要被打散时,你唯一可能做的就是逃跑
Speed, right. So another decision you face is do you just try and kick this ball as hard as you can or do you try and place it?
球速是正解,你还需要考虑,当你主罚点球时你是大力抽射,还是小力轻擦
You're going to have to know when you describe the system, if your system is homogeneous, like your coffee with milk in it, or heterogeneous like water with an ice cube in it So heterogeneous means that you've got different phases in your system.
你要知道,当你描述一个系统时,你的系统是均匀的呢,像掺了牛奶的咖啡,那样还是非均匀的,像放了冰块的水,非均匀系统就是说,在你的系统中有不同的相存在。
And you want this to continue. And then when you get older and you realize what the museum is about,
你希望这可以延续。当你长大了,你就意识到博物馆是关于什么的,
Now I've already suggested the problems that arise when you consider this term even in and of itself.
我已经暗示到,当你甚至在这个东西内部和自身考虑时出现的问题。
But when you solve the Schrodingerequation, you don't get just a set of solutions that are dependent upon one number.
但当你解薛定谔的方程式时,你没得到有一个统一答案的,一系列解决方法。
How can you write an original poem when your literary consciousness is essentially made up of the memory of all the things that you've read before?
你怎么能说自己写的是原创的诗,当你的文思,主要是由你以前阅读积累下的记忆,组合成的呢?
Any teacher will tell you that is really when you really understand the fundamentals of a subject that you really think it through when you explain it.
任何老师都会告诉你,当你解释它的时候,才是你真正想通,并且开始真正理解,一门课的根本。
We can do that sort of: When you play tic-tac-toe with your seven-year old nephew or niece, you just look ahead and work backwards.
我们可能会这么做,当你和你七岁大的侄子或侄女,下三子棋的时候,你就会先预测,然后想
You try to design actually I'm going to come back to that in a second. It's like you're trying to use a hash function that spread things out pretty evenly. But the places you store into in those lists may have to themselves have a small list in there, and when you go to check something, you may have to do a linear search through the elements in that list.
你尝试着去设计,实际上过会儿我会回头讲解这个问题,类似于你需要用一个哈希函数,非常平均的将物体分发出去,但是在列表中你数据,映射到的地方可能会有自己的一小段列表,当你回头查找数据的时候,你可能需要在那一小段列表中做线性查找。
So in general, when you're running command line programs, they can take input or arguments or parameters or switches or flags.
一般而言,当你运行命令行程序时,可以把把这些当做输入,像什么参数啊,或开关啊,或标志啊等等。
So, remember when you're looking at your periodic table, don't forget about the lanthanides, sometimes they come into play.
因此,要记住,当你在看元素周期表时,不要忘了镧系元素,有时候也会用到它们。
And my own belief is when you are not in command ; when you are humble before the thing; frankly, only then, is anything of any interest is going to happen in the arts.
我的信念是,只有当你失去了话语权,当你在艺术作品前谦卑时;,坦率地讲,只有这时,你的作品中,才会有奇迹发生。
When you think about an int or a float or a dictionary or a list, you knew that there were functions that operated on them.
当你想到整型,浮点型,或者链表时,你知道可以用函数去处理他们,但是当你传递一个参数,例如链表。
They said, would you sign a contract that if you had this loss the contract would pay you a certain amount of money?
他们是这样说的,你会签署一个合约,上面约定了,当你发生损失,你会得到合约中约定的赔偿金?
You see how long you are in the air and the whole time you are in the air, you are traveling horizontally at this speed.
你可以知道在空中停留的时间,当你在空中运动的时候,你一直以这个水平速度在运动
But yet when you look at all of this, you can see that the kind of chaos, the political upheavals finds in response in the growth of central government authority and the growth of bureaucracies.
不过当你纵观全局时,你会看到这种混乱状态,特别是政治动乱是与中央政权,和官僚体系的发展紧密相关的
Later on when times are more secure, there's trade for grain as well for everything else, but when you're settling a place in the first place, you can't rely on somebody bringing it to you.
在之后相对安定的年代,有了粮食及其他各种物品交易,但当你刚开始在某地定居时,并不能指望有人为你供给必需品
应用推荐