So we won't do it for this molecule, but we'll go back and do it for some of our other examples, and you can go back and do it for this one.
因此对于这个分子我们就不做这一步了,但是对于其它的例子我们会回来做这一步的,而对于这个,到时大家也可以回来做一下。
OK. So if I look at this code, first of all I'm calling search, it just has one call, so looks like search is constant, except I don't know what happens inside of b search. So I've got to look at b search.
首先调用一下搜索,就一步调用,看起来搜索是固定的,除非我不知道二分搜索的原理,那我们来看看二分搜索吧,所以让我们看看,第一行打印出来的内容。
If unfamiliar, these are the mechanical computer devices that you have to use to buy a ticket on the T these days and there was one of these really awkward but touching situations where it was clear that this woman had no idea, you know, what to do, how to get from here to here, and I could see her just staring at the turnstiles that you're supposed to go through to get into the subway.
如果不熟悉,这是机械计算机设备,当今你必须使用它们来买地铁票,它们实在是难操作的,这个令人同情的情况是,明显这位老太太不知道怎样操作,怎样从这一步到那一步,我看见她只是凝视着,地铁的栅门口。
应用推荐