• Now you might say, wait a minute. Thing's ordered, if I stop part way through and I throw away half the list, doesn't that help me? And the answer is yes, but it doesn't change the complexity.

    如果我在半路上停下来,然后不去遍剩下的数组了,这会帮助么?答案是帮助,但这没法改变算法的复杂度,因为我们之前怎么说来着?

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • That is basically saying, given some collection of data, I want to have again a looping mechanism, where now my process is, walk through this, the collection one element at a time. And for that, we have a particular construct, called a FOR loop.

    现在我的过程就是,通过一个个访问这个集合中,的元素的方式,来遍这个集合,为了达到这个目的,我们一个特定的结构,成为FOR循环。

    麻省理工公开课 - 计算机科学及编程导论课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定