So, the curious thing about recursion is that pretty much always can you implement this idea of doing the same thing again and again and again but with smaller bytes each time.
可见,递归算法中新奇的一点是,为了实现一个想法,你可以一遍又一遍地做相同的事情,但每次的规模都会有所减小。
So it's very much an Asian-English thing.
所以这差不多是亚洲与英国的结合体。
Some people find that a psychologically difficult thing to accept, but I've believed that pretty much all my life, so I'm quite comfortable with it.
有些人会觉得心理上,很难接受这一点,但在我的人生中,我一直相信这一点,我也坦然接受这一点。
The citizen in an unqualified sense Aristotle writes is defined by no other thing so much as sharing in decision and office.
生活方式的人,亚里士多德写到公民的定义,从广义的观点看来不外乎就是分享决定和官职。
And the thing I wanted point out is, we've got this global variable number of calls. Which is there not because Fibonacci needs it but just for pedagogical reasons, so that we can keep track of how much work this thing is doing.
要指出的是我们已经,调用了几次这个全局变量,这不是因为斐波那契数列,需要调用它而只是,因为教学上的需要,以便我们可以知道,这个函数做了多少事情。
So it's becoming much more sophisticated, much more interesting and the interesting thing about it is that it verifies a lot of the research that has been done to date with far less sophisticated means, such as self-rapport.
手段更成熟,更有趣,有趣的是,它验证了许多至今通过不全面的方法,所完成的研究的正确性,像自我评估。
And conceptually, the idea of cubing a value feels like you could package that up into a little box, a little tool that takes input, a value, and returns output the answer A* so you don't have to constantly do A star, A*A So this program ,at the end of today, is pretty much the same thing.
概念上,算一个值的立方就像是,你可以把一个值打包放在一个小盒子里,一个用来接收输入的工具,一个值,然后返回一个答案,所以你并不需要一直使用,等等。,A,star,,A,,and,so,forth。,这个程序,最后,是一个差不多的东西。
应用推荐