I'm going to set up an index, which is going to tell me where to look, starting at the first part of the list, right?
索引告诉我从哪里开始检索数组,对不对?,然后我会去记录下我做了多少次比较,这样我就能看到这个算法的工作量了?
Same with, you know, models and actresses who do advertising for people. You know, it's their job.
同样,做广告的模特和女演员也是这样。那就是她们的工作。
You might think that what a computer, what a chess-playing computer does is just this: it calculates every possible branch, every possible game from here on out.
你可能认为,一台电脑,或一台下棋电脑所做的工作就是这样,计算出所有可能的下法,以及与之对应的各种可能的棋局
And here is another one. It is over here.
我只在星期五做这样的工作。
You're not going to start for the rest of your life if you ever need to solve a problem with a computer from scratch, odds are you're going to reach for some off the shelf packages or libraries or tools that other people wrote so that people like us don't have to reinvent the wheel again and again.
如果你想用Scratch来解决问题,却使用其他人写的程序,或者利用现成的资料或工具,这样以来,我们的确可以避免做重复性的工作,但却永远学不会编程。
应用推荐