But that's also nice, it lets you see how the recursive thing is simply unwrapping but the complexity in terms of the amount of time it takes is going to be the same.
它让我们看到了,在复杂度依照时间总数来看,没有变化的情况下,递归是怎么一步步的展开的,我欠你一个糖,谢谢。
All right. So it's fun, and I got a little bit of applause out of it, which is always nice for me, but I also showed you how to think about it recursively.
好,挺有趣的,我也得到了一点掌声,这让我挺高兴的,但是我想让大家明白,怎么用迭代的思想来解决这个问题。
So if we tease this apart and this is actually nice, every semester I get beat up for just how bad this thing actually is if you start really picking it apart.
因此,如果我们分解这个部分,这其实是不错的,不管事情多么糟糕,分解一下就好了。
That's not really what I think, but that's how disturbing it is when people talk, and very nice students who do not realize this often disrupt my line of thinking.
虽然那不是我的真实想法,但是在课上有人讲话确实很烦人,有些好学生也没有意识到这点,他们经常会打断我的思路
应用推荐