• So the first thing we'll do is, we'll print the element, in this case it will be a list right? Because it's a list with two lists in it.

    因此这儿我们要做的第一件事,就是要显示元素,在这儿元素就是数组了对不对?,因为这个数组包含了两个数组。

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

  • So I'm first going to look for something that's not in the list, I'm going to see, is minus 1 in this list, so it's going to be at the far end, and if I do that in the basic case, bam.

    如果我试试第一种最基本的方法,噢,一下就完成了对不对?,因为这种方法查了下第一个元素,然后发现目标数比较下,因为目标数小于第一个元素。

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

  • Alright, so the list is now hopefully sorted correctly and it is, in fact.

    现在,整个列表已经正确地,排好序了。

    哈佛公开课 - 计算机科学课程节选

  • And this just is another list, I mainly wanted you to have it in your notes of diseases that are important around the world, for which there are very active programs to develop either vaccines or more effective vaccines.

    这是另一个表,我希望你们做笔记时把它加到,世界上这些严重的传染疾病上,因为现在有一些项目致力于开发,针对这些疾病的疫苗或者改进式疫苗

    耶鲁公开课 - 生物医学工程探索课程节选

  • Well the fact is it could be hundreds of foods in the American food supply, and what's noteworthy about this particular list of ingredients, is that it's fifty-six entries long; fifty-six things in this particular food and we defined it as food.

    实际上,答案可以是,几百种美国食品,值得注意的是,这张配料单,居然包含了五十六种配料,这种由五十六种物质构成的东西,而我们还将它定义为食品

    耶鲁公开课 - 关于食物的心理学、生物学和政治学课程节选

  • Is it one basically? In which case, just return a copy the list. That's the simple case.

    是最基本的情况吗?在这种情况下,仅仅返回一个列表的拷贝,这是简单的情况。

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

  • I think it depends on whether the list is odd or even in length. Actually, that's probably not true. With one, it'll probably always get it down there, but if I've made it just equal to two I might have lost.

    是奇数还是偶数,事实上,这是不正确的,如果最后剩下一个,那可能得到了结果,如果剩下两个,可能错了,所以,首先我们要格外。

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

  • b OK. In this example I'd use b. All right, as b get-- b is the thing that's changing as I go along here, but it could be things like, how many elements are there in a list if the input is a list, could be how many digits are there in a string if the input's a string, it could be the size of the integer as we go along. All right.?

    好,在这个例子里我会用,因为b是一直在变的东西,但是也可能是如下情况:,如果输入是数组的话,变化的就是数组的元素数,如果输入是字符串的话,变化的就是字符串的长度,如果是integer的话,可能就是这个数的大小,对不对?

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

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

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

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