Let's take a little walk around.
VOA: standard.other
> So if you want to just hang here for just a moment let's walk through the problem at hand.
你拿着这本书,我们来看一下这个问题。
Let's say you don't like to take the bus or the subway or walk.
假如你并不喜欢乘巴士或地铁,也不喜欢步行。
Well let's see. My fall back is, I could just do linear search, walk down the list one at a time, just comparing those things. OK. So that's sort of my base. But what if I wanted, you know, how do I want to get to that sorted list? All right?
我只能做线性搜索了,一次遍历一遍列表,一个一个比较,但如果我想要,那怎样得到有序的列表呢?,现在的一个问题是,我们排序之前?
So let's walk through this a little bit.
让我们简单看一下
Wow, let's walk through that.
好,让我们继续吧。
What I mean by that is, pick a simple set of values, and let's walk through it to see what happens. And this is useful because it's going to allow me to A make sure that I've got something that's going to terminate, it's going to let me make sure that in fact I'm doing the right kinds of updates.
原因你们知道的,好,模拟代码,我的意思就是,选出一系列的值来,然后模拟下代码的执行来看看结果,这很有用因为这让我确保我的程序在某个地方,可以终止,还会让我确保实际上我。
应用推荐