I would go out and I was making a lot more in two weeks than my father made in two years.
我继续着我的工作,我两周时间所赚的钱,比我父亲两年赚的要多很多。
So in other words, every time I merge the point that I kept emphasizing verbally there and that I'm only touching each number once, means that we have to account for the amount of time it takes to merge N which is going to be just N. Now, this is again one of these cyclical answers.
换言之,之前在做合并时,我不停地强调,对每个数字我只碰了一次,这就是说,我们要记录合并所花的时间量,也就是这里的,这又是一种循环性的答案。
So supposed that I give you 16 elements to sort, well, following the logic before, the running time involved in sorting 16 elements is gonna be twice the running time 16 of sorting 8 elements, left half and right half plus 16 - and again, a little sanity check, 16 means-- just the merge steps, right?
现在要对16个元素进行排序,根据之前的逻辑,对16个元素排序,要花的时间是对8个元素排序所花时间的,2倍,分别用于左半部分和右半部分,再加上6,这里16是-,做合并的步数,对吗?
应用推荐