Well, it's, you sort of know how you'd do it if this was grammar school right?
你怎么解决这个问题呢?,很简单?
How can I solve this problem?
我该怎么解决这个问题呢?
Not so easy to see. All right, but this is actually a great one of those educational moments. This is a great example to think recursively. If I wanted to think about this problem recursively- what do I mean by thinking recursively?
看不太出来,好,但实际上是一个有教育意义的时刻,这是一个很好的关于递归的例子,如果我用递归的思想,去考虑这个问题-,我该怎么用递归去解决这个问题呢?
How do we solve this problem?
我们要怎么解决这个问题呢
OK. So that then leads to the question about what should we do about this?
那我们应该怎么去,解决这个问题呢?
So how would we go about solving this problem if I told you not only was there a maximum weight, but there was a maximum volume. Well, we want to go back and attack it exactly the way we attacked it the first time, which was write some mathematical formulas.
有些时候两个都重要,所以如果我告诉你这里不仅有,最大重量还有最大容量,我们应该怎么解决这个问题呢?,好了,我们想回过来然后,和第一次一样看看这个问题。
应用推荐