So I'm going to solve this by enumerate and check, which is an example of what's called a brute-force algorithm.
你懂的,所以我得靠列举和检验来解决这个问题,这就是我们说的穷举算法。
because then you can solve new problems on midterms and what not if you understand the conceptual part.
因为这样你可以解决中期的新的问题,如果你不理解的话,就不好说了。
And so you get to build your own special purpose programming language that helped you solve your problems in biology or finance or whatever,
你读过的类型都可以,所以你就可以让编程语言按照你的,特殊用途去解决你的生物学,财务或者任何类型的问题,
You're hiding something from yourself, and once you know what's going on to deeper phenomena your problems will go away.
这些冲突被你压抑起来,一旦你理解了更深层次的冲突究竟是什么,你的问题便会得到解决。
But if you can accept the purity of the statement I just made, it is at the root of the thing you have a solution.
但如果你能够遵从原教旨主义的方式,那么这就是你解决此问题的根本
You can have your own mnemonic device to figure that out, but anyway.
反正你可以用你自己的记忆方法,来解决这个问题。
You will be able to solve all the problems we have in mechanics.
你就可以解决我们即将碰到的所有力学问题
You can take a problem that might be relatively intuitive to solve but when you scale this thing up as is increasingly the case in the web, in large data systems, and so forth, you actually have to now think smart, you actually have to think efficiently and you have to solve this problem effectively.
你可以把一个问题用比较直观的方法解决,但如果你把此类问题的数量增大,正如越来越多的互联网,和大规模数据系统中出现的问题等等,你应该考虑怎样才能更简便,怎样才能更高效,你应该用行之有效的方法处理问题。
And you decide that the way this is going to be resolved is to talk to your bosses.
于是你决定跟老板们谈谈,这是解决这个问题的方法。
You do owe her a meal after she solved your attire problem after all.
她把你的外貌问题给解决了,你确实得请她吃一顿饭。
These are going to be fairly common-sense definitions, but they're important, and when you get to a problem set, really nailing down what the system is, not more, nor less, in terms of the amount of stuff, that's part of the system, it's going to be often very crucial.
这些是,很常识性的定义,但是很重要,当你要解决问题时,务必要搞清楚系统是什么,它包含多少物质,不能多也不能少,这往往,是非常重要的。
Perhaps you could start your resolution by finding the source of the problem.
也许你可以通过寻找问题的起源来找到解决方案。
All right. So you solve the problem and then, lo and behold, it turns out that: It is my friend Bumpy. Bumpy gives me a push.
好了,你们解决这个问题,然后,你瞧,结果竟是:,这是我的朋友,颠簸,颠簸推了我一把。
I went to see a rich girl I knew. In the morning she pulled a hundred-dollar bill out of her silk stocking and said, "You've been talking of a trip to Frisco. That being the case, take this and go have your fun." So all of my problems were solved.
我去看望我以前认识的一位有钱的姑娘,到了早上,她从丝绸钱袋里取出一张100元的支票说:,“既然你那么向往到圣弗兰西斯科的旅行,拿着这个去寻找你的快乐吧“,这下我的问题全部解决了。
But imagine you've worked that out.
假设你解决了这方面的问题。
He is very technical. He's, pretty much any question you have,
他非常专业。几乎能解决你所有的问题,
So what you typically do and a hash case is you design your code to deal with that.
你所需要做的就是通过设计你的代码,来解决上面的问题。
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.
所以我并没有施魔法,我已经告诉了你,一种快速解决背包问题的方法了,但是某些方面它的核心仍然是指数增长的。
It's definitely an opportunity for help, but particularly, as an opportunity to work with someone for just a few moments to help get you unstuck or to get you past some stumbling block that, otherwise, if you struggled with on your own, you might sink or waste even multiple hours on just something that you're not seeing.
这是一个寻求帮助的机会,特别是,作为一个与某人一起工作的机会,他们能帮助你解决问题,或帮助你越过绊脚石,否则,如果你自己单独奋斗,你可能,浪费很多时间在,你不了解的东西上。
And you can very quickly take this feature to an extreme 10 and start putting X and Y and A and B and 10 and all your variables up top because it would seem to solve all of your problems and stop all of your thinking, but it's generally not a good thing.
你可能迅速地使这个特征成为一个极端,开始把X和Y和A和B和0,和所有的变量都放在最前,因为好像它可以,解决你的所有问题,并中止你的想法,但通常这不是一件好事情。
It's just not possible to solve some of these problems by hand and this isn't even a domain that's necessarily into the world of CS but speaks to you the applicability of it all.
手工处理这些问题似乎有些不大可能,但这还不是,计算机科学要解决的主要问题,我们的目的只是为了告诉你它的用途。
If you can figure out why fails on three letters instead of 12, you'll be more than half way to solving the problem.
如果你能明白为什么程序,在输入三个字母的单词的时候没法运行,你就已经解决了问题的一半了。
Now, I want to do one concrete problem where you will see how to use these derivatives.
现在我要解决一个具体的问题,从中你会明白如何运用这些导数
That's why there's a lot of emphasis on sharpening your teeth by doing this class of problems.
这就是为什么强调要通过解决这些问题,来提高你的能力
in the context of a web page. And increasingly that is where the human computer interaction is, and so will you be empowered by terms and not to just to make a website per se but to make an application, something that's of interest to you, something that solves problems, something that lets you tell someone through the most electronic means possible that you saw them somewhere on campus.
以网页内容的形式表现出来,人机交互的运用将越来越多,而且你将学会编程,不仅能制作网站,还能做出应用程序,一些你感兴趣的东西,一些解决问题的手段,还有一些可以让你通过使用,现有的电子手段来分辨出,校园里面看到的一个人的东西。
Scheme And I happen to like Lisp and Scheme, it's a great language when you're trying to deal with problems where you have arbitrarily structured data sets.
而且我很偶然的喜欢上了Lisp和,这些是当你要试图解决你,曾经很武断的设置数据,的地方的问题时很棒的语言。
This is the first full paragraph: I don't know how to cure the sourcitis, except to tell you that I can discover a good many possible sources myself for Wise Blood, but I am often embarrassed to find that I read the sources after I had written the book.
这是第一段的全文:,“我不知道如何解决资料来源的问题,只能告诉你,我自己发现了很多《慧血》的材料来源,但我经常觉得很难堪,因为我在完成了那本书后才读的资料。
You're just going to let them decide how to resolve this themselves.
你打算让他们俩自己解决两人之间的问题。
You're not going to start for the rest of your life if you ever need to solve a problem with a computer from scratch, odds are you're going to reach for some off the shelf packages or libraries or tools that other people wrote so that people like us don't have to reinvent the wheel again and again.
如果你想用Scratch来解决问题,却使用其他人写的程序,或者利用现成的资料或工具,这样以来,我们的确可以避免做重复性的工作,但却永远学不会编程。
应用推荐