But it grows pretty rapidly, as n goes up, and I'm going to show you an example in a second.
解决问题需要的时间会急剧增长,一会儿我会让大家看个例子的,我想大家注意的还是。
I think I'll practice law for a couple years, and then I'd like to work in policy,
我想我会先当几年的律师,然后我想在政策制定领域工作,
And if I'm walking down the list, this is probably order of the length of the list s because I'm looking at each element once.
这可能大概就是数组的长度,因为我会遍历数组中的每个元素一次,现在你可能会想,等等,数组已经排好序了。
Now I'll pick up with this next Tuesday; it's a perfect transition into the pro-slavery argument and southern worldview. Thank you.
下星期二我会来听听你们的想法,我想它是亲奴制的发展和,南方世界观形成的重要因素,谢谢
So, I think with that I'll shift over to some external matters.
所以对于这些,我想我会转向一些宏观问题。
I want to go back to elections and why do I want to go back at this point?
我会返回头讲选举,为什么我现在想返回去讲选举呢
Next time I'll tell you more about the coming weeks but I think you'll lunch is anyone who has a card for me to sign?
下次,我会告诉你们更多关于接下来几周的事,我想你们该吃午餐了,有人带了卡给我签吗?
We hear about key individuals, and the last time I mentioned to you two words, I think I did, but I'll mention them again this time.
我们了解了关键人物,上一节课我提到了两个词,我想我提到了,这次我会再提到的
Now normally I would think, "what a hypocritic!
平时我会想,“真是个伪君子!
I'm thinking "okay, sounds like a fun idea."
我会想”加入这兄弟会还不错“
Shelly Kagan I'll be thinking I'm Shelly Kagan.
我会想我是。
I'm going to look sort of with some care at these passages - so all will become clear, but particularly in this: Sidney-- and I didn't exactly quote the passage in which Sidney does this - but I urged you to believe that he does-- Sidney actually ranks poetry somewhere between divinity and the other sciences.
我会重点讲这点,等我讲完你们就明白了-,我不读他的原句了,但我想让你们知道,西德尼的确-,将诗歌排在了,神学和其他科学之间。
and there's one more... It's escaping me right now, but maybe I'll come back to it.
还有一个课……现在我不记得了,但也许过会儿我会想起来的。
So if I sleep more, I think I'll be more happy and more productive.
所以,如果我补充睡眠的话,我想我会心情舒畅,干活也更有效率。
And so I would ask you to think about a couple of simple questions as you move through this book, and as you think about what I have to say about it.
所以,我想让大家在继续读这本书时,想出一些简单的问题,并且想想我会对此说些什么。
It's not published yet and so I'm going to put chapters from the book that are in fairly final form, and I think you'll find them easy to read, but you don't have to buy it.
还没有出版,所以我会把,书里基本定稿的章节放在网上,我想你们会发现它很容易读懂,而你们也没有必要去买它
Under-nutrition--now I'm going -this slide has a lot of information on it and I'm going to come back to it in the class where we talk about hunger, but I show it today because of course undernutrition can affect every single system of the body and can have devastating consequences on people's health.
营养不良,这张幻灯片上有很多关于营养不良的信息,以后讲到饥饿的时候,我会再回头来讲这张幻灯片,我今天让大家看是想告诉大家,营养不良一定会影响身体的每一个系统,并对人们的健康造成巨大的破坏
just because I feel like if I could, I'd be, I'd wear every day, all the time because everything is so cool and just so edgy.
只是因为我想如果可能的话,我会每天每时每刻穿着这个牌子的衣服,因为它都太酷了,太前卫了。
And in particular, if I think about that problem - actually I want to do this- if I think about that problem, I'm going to write a little piece of pseudo code.
关于这个问题尤其要注意的是,实际上当我考虑这个-,问题的时候我想这么做,我会去写一点伪代码。
People think, " Well, if I move-- especially in the day-light-- if I move to California, I'll be happier, right?" Wrong.
人们会想“如果我搬到-,尤其是在白天-,要是搬去加州,我会更快乐?“,错误。
I'll let you chase it through, it does work. What I want to look at is, what's the order of growth here?
我会让你们去运行这个方法的,确实能得到正确答案,我想问的是,这个解决问题的方法的增长率是什么?
I'll be wondering what on earth is Pepsi up to, but that's fine.
我会疑惑百事究竟想干嘛,但不管他了
And this is one of the questions which I'm going to deal with in the next couple of lectures but before I get to the theory of social psychology I want to talk about an individual difference.
而这其中一个问题就是,我会在这两节课里讲的,但首先我们来了解社会心理学的理论,我想讲一个个体差异。
Students, graduate students who said I want to do as you do. I want to write about love and sex, the meaning of life and film and one shot is I always say, but where you gonna get a job?
我的研究生有的说,我想和你一样写爱情和性爱,揭示生活的意义,写电影,和,镜头,我会这么回答,你去哪里找工作?
Need to get the base in. Second thing I want to do, I need to get the height, so I'm going to input a value for the height, also as a float, a floating point.
也就是输入底的值,第二件我想要做的,事情就是得到三角形的高,因此我会输入一个值作为三角形的高,同样也是一个浮点数。
Let me give you, I'm going to create, q a polar point, I'm going to call it q, and we'll give it some random values.
让我给大家讲解下,我要去创建,一个极坐标点,然后我会去命名它为,然后我给它赋一些随机的值,好,现在我想知道。
So this first little piece of code right here says, ok you give me 2 points, I'll create another 1 of these lists and I'll simply take the x, sorry I shouldn't say x, I'm going to assume it's the x, the x-values are the two points, add them together, just right there, the y-values, add them together and return that list.
好,为了来认识到这一点,让我们来看一个简单的小例子,在你们的课堂手册上,你可以看到我写了一个小程序,它假设我得到了,这些点中的一些,我想对它们做一些操作,例如我想把它们加到一起,那么这里的第一小片,代码的意思是,好给我两个点,我会再创建一个数组。
Here is the five dollars, we're going to tear this into nine pieces, except I'd get arrested and deported if I did that, so we're going to find a way to break this into change later.
这是5美元,我要把它撕成9份,但我会为此被捕然后被驱逐出境的,所以待会儿我会想办法把它换成零钱
I was going to start showing you some examples, but I think, rather than doing that, I'm going to stop here, I'm going to give you two minutes back of time, but I want to just point out to you that we are going to have fun next week, because I'm going to show you what in the world that has to do with efficiency.
我想再给你们讲解一些例子,但是我想想还是算了吧,给你们两分钟休息时间,但是我想告诉你们,我们下周的课,会很有意思,我会告诉你们,到底是什么决定了效率。
I want to just highlight what's in Chapter 2, because I told you we're not going to cover the details in Chapter 2 in the course, but I give it to you as a resource so that you you might have other books which describe this which you like, and you've read already and so but I'm going to assume that you understand this information to some extent.
我想强调第二章的内容,因为我告诉过你们,课堂上不会细讲第二章,但我会把它作为阅读材料给你们,你们可能已经有讲述相关内容的书,这些书你们喜欢看,并且已经看过了,我就当你们,在一定程度上理解了这些知识
应用推荐