There he stood, so motionless, just like a log.
他站在那儿,一动不动,就像一块木头。
The act of keeping the log itself often helps people to avoid procrastinating, just like keeping a food log often helps dieters lose weight without even trying.
记日志往往能帮助人们拖沓,就像是记录饮食日志常帮助减肥者在不尝试的节食的情况下减肥一样。
You and your partner are curled up beside a roaring log fire in the bar of the Cradle Mountain lodge you 've just been chatting to some new friends about a walk you'd like to do tomorrow.
摇篮山屋的小酒吧里,原木火堆烧得正旺,你正和同伴蜷坐在火堆旁,不断在跟几个新朋友聊天,议论你们明天想要进来走走。
With this, if I can assume that accessing the i'th element of a list is constant, then you can't see that the rest of that analysis looks just like the log analysis I did before, and each step, no matter which branch I'm taking, I'm cutting the problem down in half.
读取数组中的第i个元素,是个常量时间的操作的话,我也就能像以前那样得到,这个算法是对数级复杂度的分析,并且每一步不管我选择哪个区间,我都可以把问题的规模缩小一半。
应用推荐