And what does that say? It says, let's assume I want to do k searches of a list. OK.
如果我们假定要在列表中做k次搜索,在线性的情况下,假定是一个未排序的情况。
What does that say? It says if in the code up here I get an exception of that sort, I'm going to go to this place to handle it.
这意味着如果在代码中,我得到一个这样的异常,我能到这里来处理它。
I have to try to understand what you're saying and I have to refer it to what I want to say, and the circuit of communication between us has to stay open as a result of this mutual and developing understanding of what we're talking about.
我需要试着了解你正在说什么,并且与我想说的话进行联系,我们之间的交流要进行下去,这是我们对于谈论内容的相互发展着的,了解的结果。
You'll see enough things that will confound you, but right now I want to demonstrate a simple paradigm of what it means to know the present and what it means to say this is what the future behavior will be.
你将会发现很多物理问题会让你困扰,而眼下我会举一个例子来阐述,什么叫了解现在,什么又叫预测未来
And then, having given the counter example That is to say, what I'm going to give is an example of an argument just like it, or at least an argument that seems to be just like it where we can pretty easily see that that argument doesn't work.
在给了这个反例之后,也就是说,我要给一个,与之相似的论证的例子,或者至少看起来,与之类似的一个论证,我们能够很容易地看到,那个论证是不正确的
I want to say a little bit about the cost of vaccines because this is a part of what makes it difficult to accomplish what's usually our goal in a vaccine development, which is deliver the vaccine to every population in the world.
我想谈谈关于疫苗的成本,因为这是令我们的疫苗发展目标,无法得以实现的困难之一,这个目标就是将疫苗送至世界上每一个人
You might have predicted it the other way around, the twenty dollars, "wow, well, twenty dollars, I must have enjoyed it because I got twenty dollars," but in fact, the logic here is the people with twenty dollars when asked, "What do you think of the task?" could say, "It was boring. I did it for twenty dollars."
你们猜想的结果可能跟这个相反,拿20美元的那组,”20美元,我当然很喜欢这个任务“,”因为我拿到20美元“,但事实是,当问及20美元那一组时,”你喜欢这个任务吗/“,”很无聊,我为了20美元才做的“
But now I'm going to change it, so what is that new version of class say.
好,我又要提醒下大家,类是这个模板。
So one of the things I didn't say, it's sort of implicit here, is what is the thing I measuring the size of the problem in?
我有一点没有提及,这有点含蓄,这一点就是我怎么,来度量输入问题的大小呢?,一个数组的大小怎么来定义呢?
And it takes the set of stocks to simulate, a fig, figure number, this is going to print a bunch of graphs, and I want to say what graph it is, fig mo and whether or not I believe in big mo.
我们需要一些股票才能进行模拟,很多很多的股票,我们会打印一些图,然后我会告诉你们这些图是什么意思,或者我们看到这个。
You could run through a little loop to say keep trying until you get one. But one of the ways I could deal with it is what's shown here.
你可以运行一个小循环来不断地做,直到得到一个输入,但你应该做的是弄明白这里到底要干什么。
应用推荐