And the first thing you do is ask is it an instance of some problem that other people have already solved?
而且你以前从没碰过这个问题,你首先要做的一件事就是问问自己,这是不是一个别人已经解决了的问题?
So I haven't done magic, I've given you a really fast way to solve a knapsack problem, but it's still exponential deep down in its heart, in something.
所以我并没有施魔法,我已经告诉了你,一种快速解决背包问题的方法了,但是某些方面它的核心仍然是指数增长的。
We need to think about solutions to this, right from the start of the class, and we already talked about something.
从一上课开始,我们就应该开始,思考这些问题解决方案,现在我们已经谈论了一些了
Here, the problem is solved by injecting it directly into the cell, shown here, and then that's one issue with gene delivery.
现在,这个问题已经通过,将其直接注入细胞的方法解决了,图上这里,这只解决了基因输送的一个问题
And although some psychologists and philosophers think they've solved it, most of us are a lot more skeptical.
尽管一些心理学家和哲学家认为,他们已经解决了这个问题,但大多数仍持有怀疑的态度
They thought they had the system solved, but then they had a bank run last year.
他们认为已经系统性解决了挤兑问题,但去年却又出现了银行挤兑
Now, it seems to me we can eliminate that a little bit by comparing it with various modern approaches to the same sorts of problems.
如今,在死亡的问题上,我们已经通过,与现代多种同类方法和问题的对比,解决一些了
Well, realize one of the themes in this course and really one of the themes in programming and solving any problem with a machine is going to be really to just take small bites one at a time out of these problems until the end result ultimately is that you've actually bitten off a fairly large fairly interesting problem and in the aggregate, you've actually implemented something pretty sophisticated.
好吧,让我们先想一下这件事带给我们的主题,编程和解决问题的思想,一台机器最开始只会一步一个脚印,沿着要解决的问题向前迈进,直到最终的结果出来,最后你会发现,你已经解决了一个相当大,相当有趣的问题,而这个问题在最初看起来确是相当复杂的。
If you can figure out why fails on three letters instead of 12, you'll be more than half way to solving the problem.
如果你能明白为什么程序,在输入三个字母的单词的时候没法运行,你就已经解决了问题的一半了。
There is this include which allows me to include code, source code so to speak that other people wrote so I don't have to figure out for myself how to print things to the screen.
这个“include“可以让我加进一些代码来,比方说其他人写的源码,这样我就不用自己解决,如何在屏幕上输出了,别人已经为我解决这个问题。
Once I've got that, you notice I can now define a polar point, same way. Notice I've now solved one of my problems, which is, in each one of these cases here, I'm creating both x y and radius angle values inside of there.
你们注意到我现在可以,定义一个极坐标点了,以同样的方式,请注意到现在,我已经解决了我的问题之一了,也就是,在这些例子中的每一个,我在里面都创建了x,y值。
应用推荐