很明显对于我们不会带来更大的威胁这一点很满意,这只熊离开了,当它走的时候,还毁掉了一个篱笆。
Apparently satisfied that we caused no further threat, the bear moved off, destroying a fence as it went.
当高跟鞋太高,穿得太久,或者我们穿着它走太多的路,那么穿这样的高跟鞋就成了一件坏事。结果将是,不可避免的,疼痛。
High heels become a bad thing when they are too high, worn for too long, or we walk too far in them. The upshot of this is, inevitably, pain.
当高跟鞋太高,穿得太久,或者我们穿着它走太多的路,那么穿这样的高跟鞋就成了一件坏事。
High heels become a bad thing when they are too high, worn for too long, or we walk too far in them.
I just doubled the indentation each time so you can see it. So each successive call, notice what's happening. The argument is getting reduced. And we're going another level in. When we get down to this point, we're calling it with just a string of length one.
因此每次成功调用注意它的过程,我们的命题不断简化,而且我们不断深入嵌套,当我们走到这一步的时候,我们就是在调用它处理,仅有一个元素的字符串了。
I'll let you just grok it but you can see it's basically doing what I did over there. Setting up two indices for the two sub-list,it's just walking down, finding the smallest element, putting it into a new list. When it gets to the end of one of the lists, it skips to the next part, and only one of these two pieces will get called because only one of them is going to have things leftovers.
你们可以大体的浏览一下,但是它们基本就是我在那里所做的事情,为两个子列表设置了两个指针,指针顺着列表走下去,找到最小的元素,把它放入到一个新的列表中去,当它走到一个列表的尾部时,它会跳到下部分去,两部分中只有一个会被执行,因为只有一个会有元素剩余。
应用推荐