You're going to see the arguments about space if you take some of the courses that follow on, and again, some nice courses about that. For this course, we're not going to worry about space that much. What we're really going to focus on is time.
在以后的其他课程上你们,会学到一些关于空间的参数,一些讲这个的,很不错的课程,但是在这门课上,我们并不太关心空间问题,我们真正关心的是时间问题。
When we talk about space, what we usually refer to is, how much computer memory does it take to complete a computation of a particular size?
我们经常指的是,当我们计算,一个特定大小的问题的时候,要占用计算机的多少内存?
He said, take a spring to outer space and we'll hook up some objects to them and see how fast they move and do a comparison.
他说,把一个弹簧带到外太空,往上面挂物体,看看它们运动的快慢,并进行对比
So, for example: in this case, my list is a bunch of integers. And one of the things I could take advantage of, is I'm only going to need a finite amount of space to represent an integer.
列表是一系列整数,要注意的这里的优势能够,用有限的空间来表示整数,例如,如果我想要操作。
应用推荐