And I'll also remind you, and we're going to see this in the next example, we talked about looking at the worst case behavior. In these cases there's no best case worst case, it's just doing one computation.
我还要提醒大家的就是,我们也会在下一个例子里发现者一点,我们谈到了要去考虑最坏的情况,在下面这些例子里,没有好情况坏情况之分,就只是一次运算。
Let us look at some examples of how we can use the "Do you" pattern in real life.
下面我们来看几个例子,看看在现实生活中该如何使用这个句型。
In another example, you could explain what you're doing not only at a particular moment,
在下面一个例子中,你可以解释不仅仅在一个特定时间干的事情。
In another example, you can use a "when" question in order to ask about the timing of a specific event.
在下面这个例子中,你可以用When 问句来询问一个具体活动的时间。
And it's called divide and conquer for the obvious reason. I'm going to divide it up into sub-problems with the hope that those sub-problems get easier. It's going to be easier to conquer if you like, and then I'm going to merge them back. Now, in the binary search case, in some sense, this is a little bit trivial.
因此被称为分治的原因就这么简单,将一个问题分解成一些子问题,并希望这些子问题解决起来比较方便,正如你希望的,求解的过程也会变得简单,下面就是把结果合并起来,现在,在二分搜索的例子里,从某些方面来说,这有点微不足道。
Then, I gave you one other very important example of a particle moving in the x-y plane.
下面我再拿一个重要的例子,质点在 x-y 平面内的运动
应用推荐