So what I'm going to do, well, let's get rid of this print statement for now.
所以我想要做的,好吧,让我们先省去这个打印声明。
OK. Let's simulate the code. Let's see what it's doing here. All right, so we start off.
让我们看看这里到底做了神马?,好的,我们开始吧。
So, let's make sure everyone kind of has this down, let's do another clicker question here.
好,让我们确保每个人都记下了这点,来做下一个选择题吧。
Let's just take a few examples.
让我们做个试验吧
So, let's do a clicker question on isoelectronic atoms.
那么,让我们来做一个关于等电子原子的选择题吧。
OK. So let's do some simple examples.
好,让我们做一些简单的例子吧。
So I'm going to check to see if- really can't read that thing, let me do it this way-- right, I'm going to increase the number of compares, and I'm going to check to say, is the thing I'm looking for at the i'th spot in the list?
让我们这样做吧-好-,我会去增加比较次数的计数器,然后去看看在第i处的元素,是不是我要找的呢?,这里s的意思就是,给定数组的?
应用推荐