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.
在前面两个例子里,每一部问题的规模缩小了,不管是迭代的还是递归的,这表明这个问题的复杂性可能是线性的。
Our first Christmas here, we were really upset that we weren't able to go home and see family during Christmas time.
我们在这儿过的第一个圣诞节真的很失望,在圣诞节期间我们回不了家,也见不到家人。
And "Channel Firing," on the bottom of 51, is also set in the west of England, Hardy's home country, and is set right on the verge of the First World War.
海峡炮声》在51页的下半部分,也是发生在英格兰西部,哈迪的祖国,并且也是发生在一战临近时期的。
And if you look on 107, the first thing Sal does when he gets home is eat.
再看107页,Sal一回到家做的第一件事就是吃。
应用推荐