Beside this one of many tools in Frost, I asked you to pay attention to tools in his poetry as you read it over the weekend.
除了找一个弗罗斯特的工具,我想让你们注意到他诗中的工具,在你们读这周的诗歌时。
I try to like distance myself, go take a walk around the dorm, talk to other people,
我试着让自己远离写作,绕着宿舍散散步,找其他人聊聊天,
Again, same kind of reasoning says, given some value x, I happened to pick a small one here, what's an easy way to do this? Well, let's just start at one. That's my variable I'm going to change and check.
好,尤其是,让我们到这里来,让我给大家看看第二个例子,让我把这个注释掉,这是我要解决的,第二个问题,假设我想找到一些整数的,所有除数,我想要找出来这个数的所有的除数。
In this case, it's cutting up from the bottom end, which makes sense because the thing I'm looking for is always bigger than the midpoint and then, I don't know, let's pick something in between. Somebody want-- ah, I keep doing that-- somebody like to give me a number?
排除元素,这是讲得通的,因为我总是找比中点大的元素,那让我们挑一个同,中点之间的元素吧,我再来试试,谁给我个数字吧,我知道你们想给我些其他东西?
We got an easy one. Let's just for the heck of it I should have found some better examples before I tried this. No mutant spiders here.
我们有了个简单的数字,让我们以防万一,我应该在尝试这个之前找几个更好的例子。
Let me just clean up the code a little bit.
让我停下来找找错。
OK. What does that say? I'm going to change MinIndex min index to also point there n value is 8, j starts off here, and I say, OK, is the thing I'm looking at here smaller than that? Yes.
好的,这意味着什么?,我打算交换,让它也指向那里,MinVal是8,j从这里开始,我要找的值比这个小么?是的。
应用推荐