• And the last piece of this, is as said, I have to make sure I know what my primitive elements are, in terms of operations.

    最后,正如我们所说,我们要确定我们的基本元素是什么,以便于操作,我希望大家可以学习到。

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

  • All right, I've got to do one pass to bubble the last element to the end. I've got to do another pass to bubble the second last element to the end.

    好的,我要冒一次泡来,把最大的元素冒到最后去,我还得再冒一次泡来吧第二大的元素

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

  • First line says, 0 if i is 0, that means I'm looking at the very last element.

    第一行的意思是,如果i的值是,就意味着我看到的,是最后一个元素

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

  • We're going to call binary search, it's going to take the list to search and the element, but it's also going to say, here's the first part of the list, and there's the last part of the list, Well, it checks to see, is it bigger than two?

    我们将要调用这个二分查找,它将会在列表里面搜索元素,假定这里是,列表的第一个元素,那里是列表的最后一个元素,代码内部到底做了什么?

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

  • That isn't there. So it couldn't do it, so instead that's what append is for, is to stick things on to the end of the list.

    也就是说不存在,因此没法进行指向绑定的,更改,因此这个命令并不像append那样,会在list的最后添加元素

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

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

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

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