You always want to check your signs at the and because it's so easy to get the sign wrong, and I was hoping that it was right here because I wasn't sure, but it turned out to be right.
我们完成计算时,一定要记得检查符号,因为很容易弄错符号,刚才我就不太确定,是否弄错了符号,检查发现没有问题。
Matter of fact, it was right up the street here that I was a waiter
实际上,就是在这条街上做服务生,
All right. So we kind of saw what was happening here, you saw it move a little bit.
好的,我们看稍微看一下,这里发生了什么,你们看到它移动了一点儿。
The second question I want to ask is what's the base case? When do I get down to a problem that's small enough that it's basically trivial to solve? Here it was lists of size one. I could have stopped at lists of size two right. That's an easy comparison.
第二个问题是什么是基础条件?,我要将问题分解到何时才使得问题,小到可以解决的基本问题?,这里是当列表的长度为1有时候,我也可以在长度为2的时候停止分解,那是一个非常简单的对比。
应用推荐