Their first problem was crossing over a huge mountain.
VOA: special.2009.02.11
I first had a list of size 8, then 4, then 2, but then I had another problem of size 2.
首先是一个有8个元素的序列,接着变成了4个元素,接着2个元素,然后我就碰到了有2个元素的另一个问题。
And I'm going to show you an example in a 1 second, just to drive this home, but notice the characteristics. In the first two cases, the problem reduced by 1 at each step.
在前面两个例子里,每一部问题的规模缩小了,不管是迭代的还是递归的,这表明这个问题的复杂性可能是线性的。
"The Greek government has a huge problem. It needs first of all to regain credibility.
VOA: standard.2010.02.26
If I want to move into a directory and you'll see-- all of these will be walked through in the first problem set.
如果进入一个目录,你们会发现-,所有步骤都在,第一个习题集中提到过。
Then you have a problem set, which is due on that day, your first problem set, and the problem set is up on the website.
你们到时还要交习题册,这是你们的第一次回家练习,习题册已经上传到网上了。
That's a nice answer to the problem of fission, but notice the problem it raises for the argument for believing in a soul in the first place.
这对于裂变问题是个更好的答案,但请注意这个答案又引起了新的问题,这就是一开始相信灵魂的存在时的说法。
A typical problem that you may have done in your first pass at Newton's law, someone tells you a force of 36 Newtons is acting on a mass of whatever, 4 kilograms; what's the acceleration?
在你们第一次接触牛顿定律时,可能见过这么一道典型题目,告诉你,一个 36 牛的力,作用在一个物体上,4 千克吧,问加速度是多少
I'm thinking about a problem, I'm going to show you an example in a second, first thing I'm going to do is say, what is the thing that's going to change every time I run through the same set of code?
我要解决一个问题,我马上会让大家看一个例子,第一件我要做的事情就是,弄明白每次运行同样的指令集时,每次都会改变的东西是什么?
If I want to try and decide how to tackle a problem in an iterative matter, here the steps I'm going to go through. First thing I'm going to do, is I'm going to choose a variable that's going to count.
但是这就是我对它的观点,如果我试着去以迭代的方式,解决一个问题的话,下面是我应该采取的步骤,第一件要做的事情。
I know this is a simple example, but when you mature as a programmer, one of the first things you should do when you sit down to tackle some problem is write something like this pseudo code.
我知道这是个很简单的例子,但是当你们成长为一名程序员后,当你们碰到问题后第一件事情就是,该写一些类似于,伪代码的东西。
Last year for the pieces that do vary year to year a bit, last year's first problem set challenged students to write their first or maybe second or third program using this environment called Scratch.
去年的教材有些地方有略微改动,去年的第一个问题集是让学生,在Scratch环境下,写下自己的第一或第二个或第三个程序。
应用推荐